Site template

I have a template for my site. It consists of 3 blocks: header.php footer.php and content.php (they are views). How to use them everywhere on my site? Have i to type like $this->load->view("header"), same to footer and content views each time i create a new controller? Is there other way?

You can read more about the _output() function in the [url=""]user guide[/url]. It allows you to control the output of the controller.

Or use this one

I'm using and it's very very good!!

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.