[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Result Page
Ack, I think it would help matters if I present my code here. I just
need to know where to drop in a [loop] and [calc] tag so I can get 3
columns of output. Here's what I have thus far:
<TABLE ALIGN="center" CELLPADDING="3">
[search-list]
[sort products:title:f products:category:f products:rating:f products:price:n =1-[mv_s
earch_match_count]]
[on-change 1]
[condition][item-field category][/condition]
<TR WIDTH="100%" COLSPAN="3"><TD COLSPAN="3" WIDTH="100%" ALIGN="CENTER" VALIGN="top"
BGCOLOR="Black">
<FONT FACE="Helvetica,Arial" COLOR="White"><B>[item-field category]</B>
</TD></TR>
[/on-change 1]
<TR>
<TD VALIGN="top" ALIGN="center">
<FONT SIZE="3" FACE="helvetica,verdana,arial">
<B>[item-field title]</B>
</FONT><BR>
<FONT SIZE="2" FACE="helvetica,verdana,arial">
MPAA Rating:
<B><FONT COLOR="#0000CC">
[item-field rating]
</FONT></B></A><P>
</FONT>
Our Price:</FONT><B><FONT SIZE="3" COLOR="#FF0000">
[item-price]
</B></FONT>
<NOBR><A HREF="[area order [item-code]]" CLASS="buybtn">
<FONT FACE="helvetica,verdana,arial" COLOR="#0000cc">
<BR>Buy Now</FONT></A></NOBR><BR>
The loop increment value is now: [value loop-increment]
</TD>
[calc] return '</TR><TR>' if '[loop-increment]' % 3 eq 0[/calc]
</TR>
[/search-list]
</TABLE>
_________________________________________________________________________
Brian Wright Aturna Communications Inc.
bdw@aturna.com Internet Services
WWW http://www.aturna.net
_________________________________________________________________________