![]() |
HMVC default template - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: HMVC default template (/showthread.php?tid=33057) |
HMVC default template - El Forum - 08-13-2010 [eluser]vile[/eluser] Hi, How can i set HMVC to have a default template instead of having template in each module? I tried to make a template in system/application/views. it didn't work, it just displays 'index'. i also tried to $this->load->_ci_view_path = APPPATH . 'TEMPLATE/'; still no luck. Any idea? thanks HMVC default template - El Forum - 08-15-2010 [eluser]vile[/eluser] anyone? ![]() HMVC default template - El Forum - 08-15-2010 [eluser]pickupman[/eluser] I would suggest updating to the more current [url="http://bitbucket.org/philsturgeon/codeigniter-modular-separation"]Modular Separation[/url]. Your folder structure will still be compatible. You can also load views from any folder. I am using it and loading a template from /application/views/ HMVC default template - El Forum - 08-16-2010 [eluser]vile[/eluser] thanks i will try modular separation ![]() |