El Forum
09-18-2011, 11:28 PM
[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.
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.