Code Comments
Programming Forum and web based access to our favorite programming groups.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/lan...ntax.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 te
xt
> 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
>
Post Follow-up to this message> > I am experiencing a problem with the popup-function when I try to =
use a
>=20
> you want {popup text=3D$task.priorityName}
> or something from
> http://smarty.php.net/manual/en/lan...ntax.quotes.php
Ah, ofcourse :-)
Thanks a lot for helping out Massju!
//Mattias Hallstr=F6m
Problem - Intelligent Web Solutions Sweden
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.