Share view helpers across different modules
Hi,
I have multiple modules for different parts of my site. I have a directory structure like this:
/application/controllers (controllers of the default module)
/application/views/helpers/
/application/views/scripts/ (view scripts for the default module)
/application/models (models for the whole application)
/application/layouts
/application/members/controllers (controllers for the members module)
/application/members/views/scripts/ (view scripts for the members module)
I'd like to share the view helpers and the models across all my modules, because I need them for every module. Is there an easy way to that, or is the only option to call in every controller addHelperPath?
|