CodeIgniter Forums

Full Version: How do you guys set up your header, footer, and/or sidebar views?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]skcin7[/eluser]
Hello all. I was wondering how you set up your header, footer, and/or sidebar views in your applications. In mine, I only have a header and a footer. I don't use a sidebar. The method I am currently using is to keep them in a subfolder called "includes" and then call them from a template view, which I got from following this video:

http://www.youtube.com/watch?v=gvGymDhY49E

This method works pretty well although I know it is not the only way to do something. I am new to CodeIgniter and was wondering what methods you guys use to include a header, footer, and/or sidebar (or any others you may use). I guess I'm essentially asking about how you set up your template for a page.