Nested templates & templates stored in a $variable

From: Date: Wed, 04 Dec 2002 09:58:29 +0000
Subject: Nested templates & templates stored in a $variable
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6628@lists.php.net to get a copy of this message
* I have to use templates like the following in my project: file: template1.tpl ... HTML CODE template11.tpl ... HTML CODE template12.tpl ... HTML CODE file: template11.tpl ... HTML CODE template111.tpl ... HTML CODE file: template21.tpl ... HTML CODE template121.tpl template122.tpl ... HTML CODE Can I use nested templates in Smarty? And is there a nesting limit? * My templates are *not* static, because the user should be able to selecte the used templates in his CMS to define variable layouts. So I have to use dynamic templates which are stored in PHP variables like $template (and perhaps saved in a database or file). * How can I include a template stored in a PHP variable instead of template files? Sorry for my broken English. Thanks! Roland

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