Re: [SMARTY] include file

From: Date: Fri, 17 Jan 2003 10:57:47 +0000
Subject: Re: [SMARTY] include file
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7255@lists.php.net to get a copy of this message
Le ven 17/01/2003 à 11:51, M Mohr a écrit : > On Fri, Jan 17, 2003 at 11:23:23AM +0100, Juzan Jean-Michel wrote: > > Hi, > > > > does smarty accept {include file=$tmpTpl.nametemplate} ? > > yes it does, but maybe it is not what you want. it assumes that > $tmpTpl is an array and "nametemplate" is the index. I try {include file=$TplName} but not work if I not assign. any idea ? {php} // $TplName = $tmpTpl['nametemplate']; $this->assign ("TplName", $tmpTpl['nametemplate']); {/php} <td class="cadredata.grilledata" colspan="2">{include file=$TplName}</td>

Attachment: [application/pgp-signature] signature.asc
« previous php.smarty.general (#7255) next »