![]() |
CI view files - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: CI view files (/showthread.php?tid=4985) |
CI view files - El Forum - 12-29-2007 [eluser]r@mtbb_[/eluser] Hello, I am working on a website in codeigniter and I realised that I am creating many view files. So I can't think of any method to use the same header/footer in all of them so I would have to edit in one file only. Can you please help me? Thanks! CI view files - El Forum - 12-29-2007 [eluser]tonanbarbarian[/eluser] check out this post of mine... http://ellislab.com/forums/viewthread/67521/#332687 CI view files - El Forum - 12-29-2007 [eluser]Craig A Rodway[/eluser] The simplest and best method for having a central template is to use Method 2 as described in this wiki page. CI view files - El Forum - 12-29-2007 [eluser]r@mtbb_[/eluser] Ok, thank you! I think the Method 2 from the wiki page is what I need now. ![]() |