Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] How to include header and footer on every page automatically?
#1

[eluser]Emkay[/eluser]
Is it possible to include the header and footer modules automatically before and after a $this->load->view request?
#2

[eluser]brucebat[/eluser]
Hi Emkay,

I was in the same position like you a couple of days ago.

The solution is to create a template php file.

From this template php file you should then load your "Header, a navigation segment, a content area and then footer"

Use this video Smile

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

[eluser]Emkay[/eluser]
Thanks a lot! Smile
#4

[eluser]marcusahle[/eluser]
That is a great video to help understand templates. Thanks for posting that!




Theme © iAndrew 2016 - Forum software by © MyBB