|
|||
|
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? |
|
|||
|
I'm fairly sure that the location of the helpers doesn't matter, because any helper with your prefix is loaded from the path and the module is not taken into consideration.
PHP Code:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|