Re: [SMARTY] Dynamic template include

From: Date: Mon, 10 Mar 2003 14:24:57 +0000
Subject: Re: [SMARTY] Dynamic template include
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8529@lists.php.net to get a copy of this message
On Monday 10 Mar 2003 2:09 pm, Mike Carter wrote: > I have a template which gets three variables set. These variables are then > used to build up a directory path & filename to a sub-template which has > to be included. > > The three variables are: $book, $chapter, $section. I tried using the > backticks as mentioned in a post in this mailing list archive - no change. What don't you add the .tpl to the variables in the php code rather than the smarty code? I know this is not what your are after but it might help solve the problem. Cheers John Wards SportNetwork.net

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