To solve the problem I have done the following please could you let me know
if this is a good way of solving the problem or if there is a better way.
I have created a folder called navigation inside application/view/scripts/.
containg the different navigation templates
I have then added the following line to the predispatch method in the
controller - $this->view->layout()->nav =
$this->view->render('/navigation/nav1.phtml');
I have then added the line echo $this->layout()->nav; to the layout
Thank You
Simon Corless wrote:
>
> You should probably be looking at action and view helpers, of which you
> can store them where you like, either module level or lib level. Read
> about these helpers in the docs and it will soon become clear. They act
> just like includes in order to carry out a task or display certain data.
>
--
View this message in context:
http://www.nabble.com/Are-folders-storing-include-files-still-relevant-in-zend-framework-tp20598742p20605558.html
Sent from the Zend Framework mailing list archive at Nabble.com.