Welcome Guest, Not a member yet? Register   Sign In
HMVC default template
#1

[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
#2

[eluser]vile[/eluser]
anyone? Smile
#3

[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/
#4

[eluser]vile[/eluser]
thanks i will try modular separation Smile




Theme © iAndrew 2016 - Forum software by © MyBB