Answer by Mitchell McKenna for codeigniter modular extensions
October 3 2010, 6:11pm
If you accessing the model from the controller in the same module, you can load it using just:
$this->load->model(‘user_m’);
You only have to do $this->load->model(‘module/model_name’); when your cross loading between modules.
Just to make sure, your model is located here right?
application/modules/users/models/users_m.php
As for the profiler error: 1) Have you done installation step 5 and put the Modular Extensions core files into application/core? 2) Do you have the latest version of HMVC? There have been updates to mx/loader.php in the last couple days.
Ps. great tutorial on HMVC: http://net.tutsplus.com/tutorials/php/hvmc-an-introduction-and-application/
http://stackoverflow.com/questions/3849971/codeigniter-modular-extensions/3851783#3851783