Posted by Messju Mohr on 01/05/05 14:55
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 its 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
>
[Back to original message]
|