|
Posted by "messju mohr" on 06/24/05 14:36
On Fri, Jun 24, 2005 at 01:30:31PM +0200, Erik Schmitt wrote:
> Hello,
>
> I have a file with defined constants:
>
> - conf -------------------
> hello=Hallo
> sleep=schlafen
> - /conf ------------------
>
> And I want to access these dynamically like this:
>
> {foreach from=$values key=key item=item}
> {#$item#}
> {/foreach}
>
>
> Problem is that {#$item#} ends up with an error.
{$smarty.config.$item}
see TFM at http://smarty.php.net/manual/en/language.variables.smarty.php#language.variables.smarty.config
[...]
Navigation:
[Reply to this message]
|