![]() |
Extending CodeIgniter $this->load->view() - 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: Extending CodeIgniter $this->load->view() (/showthread.php?tid=59427) |
Extending CodeIgniter $this->load->view() - El Forum - 10-04-2013 [eluser]Unknown[/eluser] Hello everybody I need to found a theme-structure for CodeIgniter. Now, what do I need is to extend the view() function of codeIgniter. How shall I do this? I want to add a constant path in the view function so when the user calls $this->load->view('index') it loads theme/index.php thanks |