Combining variables inside the template

From: Date: Fri, 14 Mar 2003 09:37:19 +0000
Subject: Combining variables inside the template
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8640@lists.php.net to get a copy of this message
Hi, normaly i include a template inside smarty with {include file="mytemplate.tpl"}or in this case with {include file=$templatename} But how do i get it to work when i got $templatename='mytemplate', without the ending .tpl i tried to to combine these with {include file=$templatename".tpl"} but that doesn't work. Is this possible and how?

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