Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] [loop-price] Part II :)



******    message to minivend-users from Victor Nolton <venom@inna.net>     ******

[calc]
                    return <<EOF if $inc++ % 2;
<tr >
<td bgcolor="#ffffff" align=left valign=top><font
face="arial">[loop-description]</font></td>
<td bgcolor="#ffffff" align=left valign=top><font face="arial">[loop-field
color]</font></td>
<td bgcolor="#ffffff" align=left valign=top><font
face="arial">[loop-price]</font></td>
<td bgcolor="#ffffff" align=left valign=top><font
face="arial">[loop-code]</font></td>
</tr>
<tr>
<td bgcolor="#ffffff" colspan=5><img src="point.gif" width=600 height=1
border=0 alt=""></td>
</tr>

EOF
                    return '';
[/calc]
This is the same code from the simple demo, I just use it to make
alternating row colors (the other code is pretty much the same just
different bgcolors).

But I've tried everyone's suggestions. Remember I have it in a [loop
search] tag

Ven


Ven's News (Bookmark It) : http://www.vensnews.com

Ven (ven@lordsofacid.com) _________________ http://ven.lordsofacid.com __
AOL: WebmstrVen     Praga Khan's Official Website        ICQ: 8321393
                       http://www.pragakhan.com
                     Lords of Acid Official Website
                       http://www.lordsofacid.com


On Tue, 27 Jun 2000, Ed LaFrance wrote:

> ******    message to minivend-users from Ed LaFrance <edl@newmediaems.com>     ******
> 
> At 01:56 AM 6/27/00 -0400, you wrote:
> >******    message to minivend-users from Victor Nolton 
> ><venom@inna.net>     ******
> >
> >Well I looked at the Simle demo.
> >[calc]
> >                     return <<EOF if $inc++ % 2;
> >                     <TD VALIGN="top" ALIGN=LEFT>
> >                                         blah code
> >                                                             </TD>
> >EOF
> >                     return '';
> >[/calc]
> >
> >As you see the [loop-price] is not in the [calc] fields. In my layout, it
> >is. But as before it either doesn't display the right value or it just
> >displays .00  . It was said to use [currency], That however just makes the
> >value .00  . I cannot put this outside the [calc]
> >cause it turns like 400 $.00's and if I put it incide the calc it just
> >returns .00
> 
> Post your [calc] code.
> 
> - Ed L.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | New Media E.M.S.             Software Solutions for Business |
> | 12831 Blanco Ct.             Consulting                      |
> | Poway, CA  92064  U.S.A.     Custom Programming              |
> | 858-486-6508                 Internet and eCommerce          |
> | 630-604-4265 eFax                                            |
> | edl@newmediaems.com                                          |
> | http://www.newmediaems.com                                   |
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> -
> To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
> 

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: