I have to pass the page title names and meta information to the layout but not to sure how to do this =/
In Zend MVC, how do you pass a variable set int the controller, to a layout?
328 views Asked by qodeninja At
2
I have to pass the page title names and meta information to the layout but not to sure how to do this =/
You may set you page titles and other info in your controller (if you're planning to change these depending on the action called):
And then render them in your layout: