How do you implement master templates that are used across the site? |
[eluser]Tominator[/eluser]
If you use COMPER Template Parser (http://ellislab.com/forums/viewthread/153269/), It's so simple: PHP: Code: $this->load->library('parser'); TPL: Code: <html> OR you can use "INCLUDE" in every template (yes it's not longer master template): PHP: Code: $this->load->library('parser'); TPL: Code: <!-- INCLUDE overall_header.tpl --> |
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
|