Welcome Guest, Not a member yet? Register   Sign In
Are there recommend libs for template automation with CI ?
#1

[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
#2

[eluser]OliverHR[/eluser]
Try this:

http://www.williamsconcepts.com/ci/codei...rence.html

You still can use smarty as a parser.




Theme © iAndrew 2016 - Forum software by © MyBB