CodeIgniter Forums
Extending CodeIgniter $this->load->view() - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Extending CodeIgniter $this->load->view() (/thread-59427.html)

Extending CodeIgniter $this->load->view() - El Forum - 10-04-2013

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