smarty variables used in {include...}
| From: | Tom Rochester | Date: | Wed, 19 Feb 2003 02:56:08 +0000 |
| Subject: | smarty variables used in {include...} | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7854@lists.php.net to get a copy of this message | ||
Hi,
I was previously using Smarty 4.3.0 and have a standard 'page' that I want to include different modules in, which previously worked like this:
{include file="$inline.inline.tpl"}
when I upgrade to the latest version of Smarty 4.4.* I get the following error:
*Warning*: Smarty error: unable to read template resource: ".inline.tpl" in */var/www/Smarty/Smarty.class.php* on line *999*
(inline _is_ being assigned)
I obviously cannot use variables in this manner anymore. Is there any way of fixing this problem without rewriting all of my scripts?
Thanks,
Tom