Popup's and array problem
| From: | Mattias Hallström | Date: | Wed, 05 Jan 2005 12:34:52 +0000 |
| Subject: | Popup's and array problem | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12113@lists.php.net to get a copy of this message | ||
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"}
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