I think i would have been more reusable for me if one could specifya series of layout paths for possible use. and on setlayout() the ZF would look into all the paths to render the specified layout choice.
I just implemented a naming convention for the layout files so i can differentiate between those for the CMS from those for the main site. Thanks Graham Graham Anderson wrote: > > On Monday 22 September 2008 18:34:06 Ralph Schindler wrote: >> For a bit more background: why do you have site wide layouts inside >> specific modules? Shouldn't modules share the same global layout? >> >> -ralph > > Layouts need not be specifically site wide, they may be applicable to a > certain list of modules. Module's should not be restricted to the same > batch > of global layouts for reasons of re-use and re-distribution. > > $layout->setLayout() caters for this to an extent; but like other aspects > of > the MVC I would like to see more options for being module aware. > > Graham > > ----- dee -- View this message in context: http://www.nabble.com/Zend_Layout-tp19608818p19631566.html Sent from the Zend Framework mailing list archive at Nabble.com.
