Welcome Guest, Not a member yet? Register   Sign In
Modular Extensions - HMVC
#1

[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..
#2

[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/
#3

[eluser]Sam Dark[/eluser]
What version are you using?
#4

[eluser]edhrx[/eluser]
@wiredesignz works....thx

@Sam dark CI 1.6.2 as for the extensions I have just downloaded from the wiki




Theme © iAndrew 2016 - Forum software by © MyBB