I'm using a modular directory structure, which looks like:

application/
        modules/
                default/
                        controllers/
                        forms/
                        models/
                        views/
                photo/
                        ...

The header and footer templates located under 'modules/default/views/scripts/' are the same for all parts of the site, so how do I get ZF to default to those files when it can't find them under 'modules/photo/views/scripts/'? Currently I have copies of the header/footer templates in all module directories, and this seems like needless duplication of code to me (as well as a PITA).

Thanks!
-- Steven

Reply via email to