[solved] Modules: Loading helpers |
[eluser]Buso[/eluser]
Is this supposed to work? (Im using Matchbox) Code: $this->load->helper('html'); Im calling it from say, the 'blog' module, 'blog' controller. (Im loading both, the html helper from 'blog' and the html helper from 'users') MY_html_helper.php is in module users/helpers/ Its working for views, but not for helpers: Fatal error: Call to undefined function login() in [..]modules\users\views\login.php on line 3 edit: problem solved. Here's the solution: Code: $this->load->helper('html'); |
Messages In This Thread |
[solved] Modules: Loading helpers - by El Forum - 11-10-2009, 08:53 AM
[solved] Modules: Loading helpers - by El Forum - 11-10-2009, 09:01 AM
[solved] Modules: Loading helpers - by El Forum - 11-10-2009, 09:03 AM
[solved] Modules: Loading helpers - by El Forum - 11-10-2009, 09:10 AM
[solved] Modules: Loading helpers - by El Forum - 11-10-2009, 09:15 AM
|