Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: [SMARTY] Popup's and array problem
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
>

Report this thread to moderator Post Follow-up to this message
Old Post
Messju Mohr
01-05-05 08:59 PM


RE: [SMARTY] Popup's and array problem
> > 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

Report this thread to moderator Post Follow-up to this message
Old Post
Mattias Hallström
01-05-05 08:59 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Smarty Templates archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:43 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.