Welcome Guest, Not a member yet? Register   Sign In
Base template for Smarty
#1

[eluser]blaff[/eluser]
Do anyone have a good solution on how to include a base.tpl file with the main structure for the page on.

Because in each function (in the controller files) i will for example write $this->str->display("page.main.tpl"); and then i want this tpl file to be viewed in my base.tpl.

I can write {include file="base.tpl"} in page.main.tpl but how will i send the information in page.main.tpl to a specific place in base.tpl?

Best regards,
Mikael


Messages In This Thread
Base template for Smarty - by El Forum - 10-03-2008, 05:32 PM
Base template for Smarty - by El Forum - 10-03-2008, 05:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB