Using another header in my Index

For programming and general questions on Zend Framework
Post Reply
caro3764
Posts: 2
Joined: Thu Dec 08, 2016 5:30 am

Using another header in my Index

Post by caro3764 » Tue Jan 17, 2017 9:13 pm

My website has a :
  • Layout.php which includes header.php and footer.php
  • header.php which is basically the banner, on top of the page
  • index.php
How would I build a condition that says to not use the header of the layout but to use instead another header that would be the file headerIndex.php? This condition will be in the index.php

Post Reply