[eluser]magiclko[/eluser]
Hello
I was just wondering if i can load views from some folder other than application/views like say application/templates/<template-name> ?
Actually issue is that i want to introduce a template system in my web app. So, what i am thinking is that each template will have its views like header, footer, questions etc and given the template which the user select i will go in the appropriate folder and load that view. so, code will be like
Code:
$this->load->view(base_url().'application/templates/'.$templatename.'/footer');
Is it feasible? or there is a better way to do the same?