CodeIgniter Forums

Full Version: how to use modular separation?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]ajsie[/eluser]
this is the second time i ask this question.

but no one answered my first one.

is there any documentation or examples of how to use modular separation?

what i can do?
do i call a controller from the parent controller?
can the child app use the parent app's configuration/libraries/models/helpers etc?
etc.

thanks

ajsie

El Forum

[eluser]Ivan A. Zenteno[/eluser]
Have you read this:
Link to HMVC

El Forum

[eluser]ajsie[/eluser]
[quote author="Ivan A. Zenteno" date="1272603286"]Have you read this:
Link to HMVC[/quote]

it works exactly like modular separation?

El Forum

[eluser]Ivan A. Zenteno[/eluser]
Modular Extensions - HMVC

Modular Extensions makes CodeIgniter modular. Modules are groups of independent CI components....

El Forum

[eluser]ajsie[/eluser]
how do i have a view (from a module application) inside my view (from application)?

cause right now i only know how to access the module with the web browser's URL.

how can i access it from my application controller?

El Forum

[eluser]Ivan A. Zenteno[/eluser]
You need load module inside of controller like this:

Code:
$this->load->module('users');


Then you can use the module from module Post.

El Forum

[eluser]ajsie[/eluser]
that doesnt work with modular separation.

the module function isnt there.