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

[eluser]kptengco[/eluser]
My ci version is 2 something and got the latest version of ci modular.

my code is this
Code:
$this->load->module_path( 'models' );
and i used it inside the MX_Controller.

Then im getting this error:
Code:
Fatal error: Call to undefined method MY_Loader::module_path() in C:\xampp\htdocs\bdo\docs\application\modules\location\controllers\Location.php on line 21
#2

[eluser]kptengco[/eluser]
anyways i already solve my problem :-) i just used the basic $this->load->model('mymodel') instead using a
Code:
$this->load->module_path( 'models', 'myModel' ); $this->myModel->model->loc_model->func()




Theme © iAndrew 2016 - Forum software by © MyBB