RE: [SMARTY] how to use variable array in smarty tag?
| From: | zzz | Date: | Sat, 06 Sep 2003 14:46:45 +0000 |
| Subject: | RE: [SMARTY] how to use variable array in smarty tag? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10176@lists.php.net to get a copy of this message | ||
Hi val
That way didn't work for me. I used this below instead. It took me two
days to realize that I was using ' instead of ` to do what I wanted. But
thanks anyways.
{include file="
$config.location/user_form.tpl"}
-----Original Message-----
From: val [mailto:need@val.zssm.zp.ua]
Sent: September 6, 2003 6:38 AM
To: zzz
Cc: smarty-general@lists.php.net
Subject: Re: [SMARTY] how to use variable array in smarty tag?
Hello zzz,
Try this:
{include file=$config[location]."/user_form.tpl"}
z> {include file="$config[location]/user_form.tpl"}
z> ^^^^^^^^^^^^^^^^^
--
Best regards,
val mailto:need@val.zssm.zp.ua