CodeIgniter Forums
Are there recommend libs for template automation with CI ? - 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: Are there recommend libs for template automation with CI ? (/showthread.php?tid=29039)



Are there recommend libs for template automation with CI ? - El Forum - 03-28-2010

[eluser]Unknown[/eluser]
Not sure how to call it but the “template automation” I described is more like some libs to take care of multiple pages with some common sections like menu, header, footer sections. More like a CI’s forums here with each thread has menu and footer sections. So, I don’t need to write those or include those in all pages (maintenance overhead).

So, my idea is to create a view for each controller while “template automation” fills the configured sections for each page for me. So my created view will be act as a content in each page(multiple sections)

I’ve heard of Smarty and PHP SiteMesh. But, I am no sure those can be used for this case. Or, if there are other recommended libs to apply with CI, please do recommend.

Thanks. Smile


Are there recommend libs for template automation with CI ? - El Forum - 03-29-2010

[eluser]OliverHR[/eluser]
Try this:

http://www.williamsconcepts.com/ci/codeigniter/libraries/template/reference.html

You still can use smarty as a parser.