[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] loop increment question
****** message to minivend-users from "David Bronson" <dbron@roman.net> ******
I am trying to make a page that returns 2 random products. The code that
Mike put in the demo nearly works for what I want but I would like to place
each product match specifically rather than looping through each match with
repeating table cells. The code below is closest to what I am hoping to
accomplish - but it doesn't increment to the next product. I have reviewed
the mv site but haven't been able to accomplish the goal...
Any help is appreciated!
<snip>
[loop random=1
search=|
sf=featured
se=front
ml=25
|
]
<TABLE ID="Table1" BORDER=0 CELLSPACING=3 CELLPADDING=1 WIDTH=288 >
<TR>
<TD COLSPAN=2><P>[data table=cat col=banner_text key="[loop-field
category]"] </TD>
</TR>
<TR>
<TD WIDTH=137><P><IMG WIDTH=150 SRC="items/[loop-field image]"
ALT="[loop-field title]">
</TD>
<TD WIDTH=138><P><A HREF="[area [loop-code]]">[loop-field
title]</A><BR><FONT SIZE="-1" FACE=Arial><B>Made by <A HREF="[area href=scan
arg=|
sf=artist
se=[loop-field artist]
|
]">[filter name namecase][loop-field
artist][/filter]</A></B></FONT> </TD>
</TR>
<TR>
<TD COLSPAN=2 HEIGHT=19> </TD>
</TR>
<TR>
<TD COLSPAN=2><P ALIGN=RIGHT>[data table=cat col=banner_text
key="[loop-field category]"] </TD>
</TR>
<TR>
<TD><P><A HREF="[area [loop-code]]">[loop-field title]</A><BR><FONT
SIZE="-1" FACE=Arial><B>Made by <A HREF="[area href=scan arg=|
sf=artist
se=[loop-field artist]
|
]">[filter name namecase][loop-field
artist][/filter]</A></B></FONT>
</TD>
<TD><P><IMG WIDTH=150 SRC="items/[loop-field image]"
ALT="[loop-field title]"> </TD>
</TR>
</TABLE>
[/loop]
</snip>
-
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