Template inside template

From: Date: Sat, 08 Jan 2005 13:31:32 +0000
Subject: Template inside template
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12119@lists.php.net to get a copy of this message
Hi I want to have an index.php which is contructed by four templates index.tpl menu.tpl content.tpl footer.tpl Now in my index.php I will have some variables that will be assigned and displayed directly via index.tpl whereas other parts of the index.tpl will be constructed with the other three templates. include 'menu.php' (will have something like $MenuPage->display(menu.tpl)) include 'content.php' ( and $Content->display(content.tpl) and so on...) include 'footer.php' $Mypage->display(index.tpl) Is this possible? any hints or samples would be great. Thanks HarryG

« previous php.smarty.general (#12119) next »