Setting up views once, not per controller? |
[eluser]carlhussey[/eluser]
I have all these views loading in every controller. All of them are static except in this case, news. That's where the content goes for the current controller its on. Is there any way to set those other views in a file so I dont have to deal with loading them every time? Code: $this->load->view('header', $data);
[eluser]samitrimal[/eluser]
http://codeigniter.com/wiki/Phil_Sturgeo...e_Library/ |
Welcome Guest, Not a member yet? Register Sign In |