We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi Ivan, I found a problem with helpers in module folder.
I create structure like that: -mymodule --controllers --helpers ---MY_new_helper.php
and when i try to load Ive got: $this->load->helper('my_new_helper');
$this->load->helper('my_new_helper');
Unable to load the requested file: helpers/my_new_helper.php
I tested it with many combination of name of the helper and adding module name to the name like: $this->load->helper('mymodule/my_new_helper');
$this->load->helper('mymodule/my_new_helper');
when I load helper in module from APP folder everything works OK -appfolder --helpers ---MY_new_helper.php
$this->load->helper('new_helper');
Could you look at this?
The text was updated successfully, but these errors were encountered:
A minor change about loading modules' helpers. #44
82658ce
I did a change that probably has not been implemented in the original HMVC code. Anyway, If you have your structure:
mymodule --controllers --helpers ---MY_new_helper.php
you may use
$this->load->helper('new');
or $this->load->helper('MY_new'); , but the first suggestion is better.
Sorry, something went wrong.
Yeah :D Now its works perfectly! I tested and viola. Helper is loaded from module :) Great job!
No branches or pull requests
Hi Ivan,
I found a problem with helpers in module folder.
I create structure like that:
-mymodule
--controllers
--helpers
---MY_new_helper.php
and when i try to load Ive got:
$this->load->helper('my_new_helper');
Unable to load the requested file: helpers/my_new_helper.php
I tested it with many combination of name of the helper and adding module name to the name like:
$this->load->helper('mymodule/my_new_helper');
when I load helper in module from APP folder everything works OK
-appfolder
--helpers
---MY_new_helper.php
$this->load->helper('new_helper');
Could you look at this?
The text was updated successfully, but these errors were encountered: