Reply to Re: [SMARTY] Popup's and array problem

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация