04-16-2010, 05:20 AM
[eluser]hugle[/eluser]
Hello Phil and others
I came with some problems here..
For example I have module, called 'categories'.
In the controller of this, module, I do:
I get the error:
But this file is located in:
Later I tried to put this file into:
- no such error, all works OK.
How I can make Module use a theme? or maybe it is not possible?
Thank you very much!
Hello Phil and others

I came with some problems here..
For example I have module, called 'categories'.
In the controller of this, module, I do:
Code:
$this->template->set_theme('admin');
$this->template->build('topnav');
I get the error:
Code:
Unable to locate the file: categories/topnav.php
Code:
/application/themes/admin/views/topnav.php
Later I tried to put this file into:
Code:
/application/modules/categories/views/topnav.php
- no such error, all works OK.
How I can make Module use a theme? or maybe it is not possible?
Thank you very much!