CodeIgniter Forums
Rending page templates within master template - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Rending page templates within master template (/thread-15686.html)



Rending page templates within master template - El Forum - 02-11-2009

[eluser]trenchard[/eluser]
Noob question: What is the best way to render a page within a master template? I want to maintain a header, footer, and general styling while rending different content in various content <div>s within the main template based on URI. Any quick tutorials online for this or any quick best practice?

Thanks.


Rending page templates within master template - El Forum - 02-11-2009

[eluser]Mortred[/eluser]
Use the Template Parser Class.. Smile