• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Load Widget Hmvc

#1
[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

#2
[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');


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.