Reply to Re: assign a value to an array within a template
Posted by Pedro on 10/31/05 13:23
Maybe this is what you want
http://smarty.incutio.com/?page=AdvancedAssignPlugin
pete
Christian Pelster wrote:
> Hi,
>
> how do I assign a value to an array within a template,
> my first idea:
>
> {assign var=$array[$key] value='abc"}
>
> seems to be so simple but i drives me nuts.
>
>
> thanks,
>
> pelle