|
|||
|
I am trying to setup my indexcontroller so that the header and footer are automatically displayed around the body content
I thought using pre and postdispatch methods would be the best option i.e PHP Code:
header.phtml content : index.phtml | (equiv Action) content : footer.phtml content HOWEVER!!!! It turned out like this!!! index.phtml | (equiv Action) : header.phtml content : footer.phtml content Can you explain why? More importantly can you explain what is the best way to achieve my request? Thanks in advance,
__________________
http://irishradioportal.comtrying to use zend frame work |
|
||||
|
The mvc is encapsulated with an output buffer. It can be disabled with a FC param; however, you should be using zend_layout instead as it provides far more capability than the split header/footer method.
__________________
Zym Framework - A Zend Framework extension library w/ demo app SpotSec Blog: http://spotsec.com/blog |
![]() |
| Thread Tools | |
| Display Modes | |
|
|