Re: [SMARTY] Popup's and array problem

From: Date: Wed, 05 Jan 2005 12:55:45 +0000
Subject: Re: [SMARTY] Popup's and array problem
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12114@lists.php.net to get a copy of this message
On Wed, Jan 05, 2005 at 01:34:52PM +0100, Mattias Hallström wrote: > Hi, > > > > I am experiencing a problem with the popup-function when I try to use a > variable in an array as text. > > > > This is what my popup call looks like: > > {popup text="$task.priorityName"} you want {popup text=$task.priorityName} or something from http://smarty.php.net/manual/en/language.syntax.quotes.php HTH messju > This is what generates by smarty: > > onmouseover="return overlib('Array.priorityNumber prio');" > onmouseout="nd();" > > > > $task.priorityName should be ok, because I can use it to write out it’s text > as usual. > > This is what it looks like from the debug window: > > {$task}Array (7) > id => 1 > name => adsfasdf > description => asdf > reportedWhen => 2004-12-29 12:15:00 > priorityName => Normal > priorityNumber => 2 > taskStatusName => Ej påbörjad > > > > Anyone got a clue? It looks like a bug to me.. > > > > Hope you all had a great new year :-) > > > > //Mattias Hallström > > Problem – Intelligent Web Solutions Sweden >

« previous php.smarty.general (#12114) next »