![]() |
HMVC with Packages - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: HMVC with Packages (/showthread.php?tid=39260) |
HMVC with Packages - El Forum - 03-05-2011 [eluser]dstegelman[/eluser] I am having trouble getting HMVC modules to properly load package assets (models, libraries, etc). Is it possible to load these with HMVC or do I need to do some custom tinkering with the MY_Loader?? HMVC with Packages - El Forum - 03-05-2011 [eluser]Developer13[/eluser] Yes, of course it's possible to load CI resources using HMVC. Specifically how are you having trouble? HMVC with Packages - El Forum - 03-05-2011 [eluser]dstegelman[/eluser] The modifications to my_loader in hmvc arent allowing me to load a custom package from the third party folder. I have a custom auth package in the third party folder and I can't get the library to load when using hmvc. I get an error saying that it cant find the library. I think the issue is that hmvc doesn't account for the new packages concept in reactor. HMVC with Packages - El Forum - 03-06-2011 [eluser]InsiteFX[/eluser] He just answered this in another forum. Yes, I haven’t updated Modular Extensions yet for autoloading package paths. I will do this soon. You could copy the CI_Loader::_ci_autoloader code for autoloading packages and add it to the MX_Loader class if you need this urgently. InsiteFX HMVC with Packages - El Forum - 03-06-2011 [eluser]Developer13[/eluser] Ah yeah... so you literally meant packages ![]() |