How do you implement master templates that are used across the site? |
[eluser]KeyStroke[/eluser]
Hi, I'm basically trying to have a master template that I could always output content to (preferably automatically without a call) across the site. I know some will suggest outputting every page section in its own $this->load->view() call in every method, but that's an incredibly ugly solution. There's another way which consists of playing around with hooks to automatically output the master template, but it's a bit hackish in my opinion. I've also found the Template library (http://www.williamsconcepts.com/ci/codei...index.html), which is so far my best option, but it's a bit complex and I'd rather use something simpler. So, my question is, what do/would you use in such case where you need a master template? Appreciate your help |
Messages In This Thread |
How do you implement master templates that are used across the site? - by El Forum - 04-23-2010, 12:20 PM
How do you implement master templates that are used across the site? - by El Forum - 04-23-2010, 01:49 PM
How do you implement master templates that are used across the site? - by El Forum - 04-24-2010, 09:18 AM
How do you implement master templates that are used across the site? - by El Forum - 04-24-2010, 09:32 AM
How do you implement master templates that are used across the site? - by El Forum - 04-24-2010, 02:44 PM
|