Since I wanna have header, footer, menu includes etc. and I notice quite few
problems and posts around it.
I found that view script can be included nicely inside other view script
(can say news) with <?php echo $this->render('index/header.phtml') ?>This is quite what i need(not completly), because i can also assign some variables that are in header.phtml directly from current running action - listAction. I made also controller _Include_HeaderController with one action Index which should assign all that common variables inside header.phtml (if user is logged - his name, date etc.) But now i don't know how to run that header controller action inside my news action so it would normaly assign view variables. Maybe it's wrong approach - but what i wanna achive is to somehow run certain VIEW script with certain controller action. -- View this message in context: http://www.nabble.com/Controller-called-inside-controller-for-header-footer-menu-purposes-tf4318722s16154.html#a12297598 Sent from the Zend Framework mailing list archive at Nabble.com.
