gerben: What you need to do is remove the View library from your modules, and just have it in your standard library folder and autoload it. You then add ‘libraries/View’ to the $config[’callers’] array in the matchbox config file.
Please let me know if it works (it worked for me).
Hi Zacharias, it didn’t work when I did it exactly the way you described, BUT… when I added the view library to Matchbox.php, line 50:
var $_callers = array('MY_Config', 'MY_Language', 'MY_Loader', 'View');
it worked perfectly fine!
So I think for some reason the matchbox.php config file is not loaded. Which is very strange, because I believe CI loads all files in config.php by default.
When I do (in my module):
print_r($this->config->item('callers'));
It returns nothing.
Anyway, I believe we’re getting there. All I need to find out, is why my config isn’t loaded.