Re: [SMARTY] section popup

From: Date: Fri, 17 May 2002 13:20:59 +0000
Subject: Re: [SMARTY] section popup
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4273@lists.php.net to get a copy of this message
Try without quotes: {popup sticky=false caption="category codes" text=$your_record[content].catname} jkpsj wrote:
smarty 2.1.1 ------------ dear all thanks to the list, i have managed to use {section} to display records from db. my next step is to: 1. read data from db (companyname, catcode and catname) 2. use {section} to display them 3. use popup to display category-name when mouseover over category-code my template file: {popup_init} {section name=content loop=$your_record}
    {$your_record[content].companyname}</a> --
    <a href="" {popup sticky=false caption="category codes" text="$your_record[content].catname"}
onclick = "return false;">{$your_record[content].catcode}</a>
    <BR>
{/section} i am able to see all records and able to mouseover on category codes. but the popup only contain .catname (on all records) as the popup text. appreciate your advice. best rgds. -- jkpsj __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

« previous php.smarty.general (#4273) next »