I use customized paths for my application based on Zend Framework (a.k.a. themes).
The view scripts are saved in public/themes/themename/modulename/...
, so switching the application theme is just substituting themename
in the path.
How to tell Zend Tool to generate the view scripts in this directory instead of the default one? I suppose some kind of provider is needed?
How to register the provider to have it by default for all zf based projects?
Look at the default Zend Providers and extend the classes with your own, overloading the paths.