Modular Extensions - HMVC |
[eluser]edhrx[/eluser]
Hi, I'm trying a 'hello world' to test Modular extensions for a new project. I'm getting this message Message: strrpos() expects parameter 1 to be string, array given Filename: helpers/modules_helper.php Line Number: 91 My testing structure is like this webroot/application/modules/clients/controllers/test my test stub is webroot/application/controllers/base Index has this call echo modules::run('test'); Ed..
[eluser]wiredesignz[/eluser]
for normal application controllers OR where module controller_name is the same as module_name. modules::run(’test’); where module controller_name is not equal to module_name. modules::run(’clients/test’); Also see the URL spec for calling module controllers: http://ellislab.com/forums/viewthread/82378/
|
Welcome Guest, Not a member yet? Register Sign In |