For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > January 2005 > Popup's and array problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Popup's and array problem
Mattias Hallström

2005-01-05, 8:57 am

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 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


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com