[solved] HMVC - modules in modules |
[eluser]SPeed_FANat1c[/eluser]
Hi, is there a way to modules in modules? I cannot find in forums talking about this, also google did not help. But there http://net.tutsplus.com/tutorials/php/hv...plication/ I see a scheme that it is possible, but in that article is only talking how to use them without such levels.
[eluser]SPeed_FANat1c[/eluser]
not the though came - modules cannot be in modules, but this tree in nettuts+ article means that we can call one module from another and so on. But we still can use folders in our controller folders, and I think in models and views we can use folders as well (only tried with controllers).
[eluser]SPeed_FANat1c[/eluser]
found what I wanted: in the config file we can set more modules locations, e.g. Code: $config['modules_locations'] = array( it tries searching module name first in modules/main location, if does not find, then in modules/admin location this actually isn't modules in modules, but we have the stucture so its fine. |
Welcome Guest, Not a member yet? Register Sign In |