Dear All
i have a problem setting the layout of different modules in the
initializer.php
in the old version of the framework that was no problem because i define the
path for each module in its bootstrap
but no i cant do that
so i tried to do the following
public function initView()
{
// Bootstrap layouts
Zend_Layout::startMvc(array(
'layoutPath' => $this->_root .
'/application/'.$this->getRequest()->getModuleName().'/layouts',
'layout' => 'main'
));
}
but it couldn't recognize the module name.
any idea how i can fix that ??
*--
Regards,
Ahmed Abdel-Aliem
Senior Web Developer
Aroma Designs & Solutions
http://systems.graphicaroma.com
Blog : http://www.php-architect.com/blog
Acting by Reacting : By not printing this e-mail I help protect the
environment.*