How to Add Dynamic Header and Footer |
Here is my code:
controllers/Home.php PHP Code: <?php views/themes/default/templates/common/header.php PHP Code: <!DOCTYPE html> views/themes/default/templates/common/home.php PHP Code: <div class="container"> views/themes/default/templates/common/footer.php PHP Code: <footer> Right now, it shows the text Home in each section (in header, in home, and in footer). I want each page shows different titles (header shows text Header, home shows text Home, and footer shows text Footer). How to achieve it? Thanks. |
Messages In This Thread |
How to Add Dynamic Header and Footer - by superbrands - 03-02-2018, 10:56 AM
RE: How to Add Dynamic Header and Footer - by wallacesilva09 - 03-02-2018, 03:35 PM
RE: How to Add Dynamic Header and Footer - by superbrands - 03-02-2018, 10:26 PM
RE: How to Add Dynamic Header and Footer - by wdeda - 02-20-2020, 05:43 PM
RE: How to Add Dynamic Header and Footer - by jreklund - 03-03-2018, 03:29 AM
RE: How to Add Dynamic Header and Footer - by Daniel_30 - 05-04-2018, 03:26 AM
RE: How to Add Dynamic Header and Footer - by qury - 05-09-2018, 01:54 PM
RE: How to Add Dynamic Header and Footer - by Gurutechnolabs - 09-28-2018, 07:07 AM
RE: How to Add Dynamic Header and Footer - by InsiteFX - 11-26-2018, 10:53 AM
RE: How to Add Dynamic Header and Footer - by garimapatil - 01-22-2019, 12:30 AM
RE: How to Add Dynamic Header and Footer - by MAILITY - 05-24-2019, 07:17 AM
RE: How to Add Dynamic Header and Footer - by clarkegriffinx - 05-01-2021, 11:46 AM
|