Welcome Guest, Not a member yet? Register   Sign In
HMVC with Packages
#1

[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??
#2

[eluser]Developer13[/eluser]
Yes, of course it's possible to load CI resources using HMVC. Specifically how are you having trouble?
#3

[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.
#4

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

[eluser]Developer13[/eluser]
Ah yeah... so you literally meant packages Smile Sorry 'bout that.




Theme © iAndrew 2016 - Forum software by © MyBB