Welcome Guest, Not a member yet? Register   Sign In
How do you implement master templates that are used across the site?
#2

[eluser]Mischievous[/eluser]
I'm currently using a modified version of the Template Library you listed that i've modified to work with modular separation and it works amazingly! Its really really not complex at all!

Simply call
Code:
$this->template->write_view('content', 'view_file');
$this->template->render();

then first parameter is a the region you specify in the template_config file? and the second parameter is the view file to load into the region?

the config_file is a simple array?


Messages In This Thread
How do you implement master templates that are used across the site? - by El Forum - 04-23-2010, 01:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB