Hi Michael, Your best bet is to read up on the ViewRenderer (Zend_Controller_Action_Helper_ViewRenderer) which controls a lot of the View location/format conventions.
Combine this, with Zend_View's ability to register scriptPaths and it should be sufficient to get the directory layout you need. Just remember that any changes done here will alter the view script name/location conventions for the entire application. If you need any other help, just give the list a shout ;) Paddy Pádraic Brady http://blog.astrumfutura.com http://www.patternsforphp.com OpenID Europe Foundation Member-Subscriber ----- Original Message ---- From: Michael Raymond <[EMAIL PROTECTED]> To: [email protected] Sent: Thursday, September 20, 2007 6:44:11 AM Subject: [fw-general] Base view in modular design In developing app which using the conventional modules design Application/ configs/ modules/ default/ controllers/ views/ blog/ controllers/ views/ Each modules has directories for controllers and views. I want to have a base view directory to store the view files which will be use in every modules (say, common layout files like html header and footer). I've consult the programmer's reference/manual of the Zend_Controller but couldn't find any info about it, but I might have miss it. What is the best way to achieve this? Any feedback is highly appreciated. Thanks --- ____________________________________________________________________________________ Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting
