Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
I have created two PHP modules, one is a contact form module and one is a a sticky "call now" module. I can access the contact form by example.com/contact_form.php but in contrast, example.com/cal...
#3: Post edited
- I have created two PHP modules, one is a contact form module and one is a a sticky "call now" module.
- I can access the contact form by `example.com/contact_form.php` but in contrast, `example.com/call_now.php` shouldn't be a standalone webpage, rather just a container for some HTML and CSS which I want to execute on top of every webpage in my website.<br>
- (I use `.php` instead `.html` because it allows `include`s which I use a lot).
How could I execute the PHP-formatted, HTML-CSS container on top of any content management system (CMS-agnostically) so that if tomorrow I will change the CMS from MediaWiki to Drupal, any user could still use the sticky "call now" button?
- I have created two PHP modules, one is a contact form module and one is a a sticky "call now" module.
- I can access the contact form by `example.com/contact_form.php` but in contrast, `example.com/call_now.php` shouldn't be a standalone webpage, rather just a container for some HTML and CSS which I want to execute on top of every webpage in my website.<br>
- (I use `.php` instead `.html` because it allows `include`s which I use a lot).
- How could I execute the PHP-formatted, HTML-CSS container on top of any content management system (CMS-agnostically) so that if tomorrow I will change the CMS from MediaWiki to Drupal, any user could still use the same sticky "call now" button?
#2: Post edited
- I have created two PHP modules, one is a contact form module and one is a a sticky "call now" module.
- I can access the contact form by `example.com/contact_form.php` but in contrast, `example.com/call_now.php` shouldn't be a standalone webpage, rather just a container for some HTML and CSS which I want to execute on top of every webpage in my website.<br>
- (I use `.php` instead `.html` because it allows `include`s which I use a lot).
How could I execute the PHP-formatted, HTML-CSS container on top of any content management system (CMS-agnostically) so that if tomorrow I will change the CMS from say MediaWiki to Drupal (and the webserver keeps processesing PHP), still, any user which visits my website could use the sticky "call now" button?
- I have created two PHP modules, one is a contact form module and one is a a sticky "call now" module.
- I can access the contact form by `example.com/contact_form.php` but in contrast, `example.com/call_now.php` shouldn't be a standalone webpage, rather just a container for some HTML and CSS which I want to execute on top of every webpage in my website.<br>
- (I use `.php` instead `.html` because it allows `include`s which I use a lot).
- How could I execute the PHP-formatted, HTML-CSS container on top of any content management system (CMS-agnostically) so that if tomorrow I will change the CMS from MediaWiki to Drupal, any user could still use the sticky "call now" button?
#1: Initial revision
Executing a PHP HTML-CSS container on top of various content management systems
I have created two PHP modules, one is a contact form module and one is a a sticky "call now" module. I can access the contact form by `example.com/contact_form.php` but in contrast, `example.com/call_now.php` shouldn't be a standalone webpage, rather just a container for some HTML and CSS which I want to execute on top of every webpage in my website.<br> (I use `.php` instead `.html` because it allows `include`s which I use a lot). How could I execute the PHP-formatted, HTML-CSS container on top of any content management system (CMS-agnostically) so that if tomorrow I will change the CMS from say MediaWiki to Drupal (and the webserver keeps processesing PHP), still, any user which visits my website could use the sticky "call now" button?