I just want to know if one can specify more than one layout path in the
startMvc function? having something like this:
Zend_Layout::startMvc(array(
'layoutPath1' => $config->paths->data .
'/module1/admin/views/layouts')
'layoutPath2' => $config2->paths->data
. '/module2/admin/views/layouts')
);
Am asking because since layout.phtml is the default layout to be used except
if specified otherwise. What if i have the default rendering layout.phtml in
both folders how then can i let the Front Controller know which layout i am
referring to in what folder?
Another question is using different layouts in any of the paths specified.
Would i have to include a path to the layout i want to use in my controller
like:
$this->_helper->layout->setLayout('layoutPath2/layout-edit-mode') ???
Thanks in advance.
N.B i just have one path specified at the moment for the module i just
finished in my bootstrap. I want to use a different layout folder for the
new module i developing now hence my quest.
-----
dee
--
View this message in context:
http://www.nabble.com/Zend_Layout-tp19608818p19608818.html
Sent from the Zend Framework mailing list archive at Nabble.com.