Re: [SMARTY] Template inside template
| From: | Rainer Müller | Date: | Sat, 08 Jan 2005 20:00:18 +0000 |
| Subject: | Re: [SMARTY] Template inside template | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12120@lists.php.net to get a copy of this message | ||
HarryG wrote:
Hi I want to have an index.php which is contructed by four templates index.tpl menu.tpl content.tpl footer.tplUse $smarty->display('index.tpl'); and in index.tpl you can specify more includes for other templates {include file="menu.tpl"}. All assigned variables are also available in the included templates. Rainer