CodeIgniter Forums

Full Version: Load Widget Hmvc
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]boytun[/eluser]
Hello my friends.

Please I have a big problem.
I try to load my widgets, based on the Hmvc architecture, in the mvc view.
I get to cases:

1st case:
when my view is loacated directly on the views floder, everything works fun.

second case:
when my view is located in another floder into views floder, I get errors.

So, please can any one have a solution for my problem?

Thanks in advance

El Forum

[eluser]Harold Villacorte[/eluser]
When you load resources from outside the module make sure to include the module name:
Code:
$this->load->view('module/resource');