Welcome Guest, Not a member yet? Register   Sign In
Can we make header $ footer with hook?
#1

[eluser]tanveer[/eluser]
Hi,


I am new user of codeigniter so i want know can we make header and footer with hook. If anyone know please help me.

Thanks in advance.


Best Regards,
Tanveer Hussain
#2

[eluser]hykoh[/eluser]
a hook ? why ?

i solved this problem by creating a library called "layout" which includes the methods header(), content() and footer() with possibilitys to transmit keywords and page description.
#3

[eluser]tanveer[/eluser]
Thank you for your nice reply just tell me little more detail how can i do that as you told me about layout.
Again thanks.
#4

[eluser]gawronzo[/eluser]
[quote author="tanveer" date="1256122713"]Thank you for your nice reply just tell me little more detail how can i do that as you told me about layout.
Again thanks.[/quote]

Hi Tanveer,

Please check this wiki article.

http://codeigniter.com/wiki/Header_and_F...ge_-_jedd/

I think it will solve your problem.
#5

[eluser]tanveer[/eluser]
Thank you for help me.




Theme © iAndrew 2016 - Forum software by © MyBB