Re: Popup : probably stupid question
| From: | Monte Ohrt | Date: | Mon, 15 Oct 2001 04:26:05 +0000 |
| Subject: | Re: Popup : probably stupid question | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1699@lists.php.net to get a copy of this message | ||
you can't nest smarty tags. Don't use {} around variables mentioned inside
of a smarty tag.
Luc Saint-Elie wrote:
> Hello,
>
> I'd like to fill a outlib popup with a Smarty variable :
>
> <a href="" {popup sticky=false caption="{$sorties[sorties].intitule}"
> delay=400 capcolor="#ffffff" fgcolor="#ffffff" bgcolor="#000000"
> text="{$sorties[sorties].description}"} onclick="return
> false;">{$sorties[sorties].intitule}</a>
>
> But I fail because a } mismatch...
>
> Any tip welcome
>
> Luc
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/