Welcome Guest, Not a member yet? Register   Sign In
Modular Extensions - (HMVC) - Version 3.1.9

i have an idea. what if you make a configuration file for the basepath, so user can change the modules' directory name with anything they want. Smile

Current Version is 3.0.3
Fixed issue with modules->model not loading CI_Model class.
Added $this->base = 'modules/' to Loader class, in case people need to over-ride the value for their application.
Added $this->load->modules->config()

Current Version is 3.0.4
Removed $this->base = 'modules/'
Added MODBASE constant and set to APPPATH.'modules/'

[eluser]Edemilson Lima[/eluser]
There is one thing I didn't understood yet... Inside my modules, should I use "$this->load->view('view_file',NULL,TRUE)" or do I need to use "$this->load->module->view('view_file',NULL,TRUE)"? This is a bit confusing to me. When use one or another?

Views in the main Views directory = $this->load->view('view')

Views in your modules/views directory = $this->load->module->view('view')

Current Version is 3.0.5
Added loading form alternate module views directory. Thansk Edemilson


[eluser]Edemilson Lima[/eluser]
Nice! Will the same apply to models too? And also libraries, helpers and plugins (when it have support for them)?

I think this is one of the most useful add-ons to CodeIgniter. I hope I can help even more! Smile

It should work for models and libraries already, they use the same code as the views to set the module path.

[eluser]Edemilson Lima[/eluser]
One piece of code in the end of the page in the Wiki is out of the [code ] and [/ code] formatting:

class Default_controller extends Controller

I think it is incomplete also, because of the limit for the text size.

Current Version is 3.0.6
Removed modules::debug
Re-organised _load_config, no functional changes

Thanks Edemilson Wink

Theme © iAndrew 2016 - Forum software by © MyBB