MiniVend Akopia Services

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

Re: [mv] Result Page



Thanks it work great with one problem, I cant use [more-list] to see more pages

Raj Goel wrote:

> ******    message to minivend-users from Raj Goel <frostbit@brainlink.com>     ******
>
> On  0, Ben-Nes Michael <miki@canaan.co.il> wrote:
> > ******    message to minivend-users from Ben-Nes Michael <miki@canaan.co.il>     ******
> >
> > Hi
> >
> > I have difficulties to arrange the returned items.
> >
> > Now the result page arrange each item in new line.
> > Im trying to arrange them 4 in a row and then start new line, but i have
> > difficulties.
> >
> > If any one can give me some general direction ill be very thankful :-)
> >
> > [search-list]
> >         <TABLE>
> >         <TR>
> >                 <TD ALIGN="center">
> >                         <A HREF="[area [item-code]]">
> >                         <IMG SRC="[item-field Image_s]" ALT="[item-field
> > Name]"><br>[item-field Name]</A>
> >                 </TD>
> >         </TR>
> >         <TR>
> >                 <TD ALIGN="center">
> >                         Price:[item-price]
> >                         <A HREF="[area order [item-code]]"
> > CLASS="buybtn"><BR>Put in Basket</A>
> >                 </TD>
> >         </TR>
> >         </TABLE>
> > [/search-list]
> >
> > --
>
>         You'll need to use perl to accomplish some of this.  Feel free to
> use the following (change $Safe{'scratch'}{'start'} %2 == 0 to however
> many items you want per row):
>
> [perl arg=scratch]
>         $Safe{'scratch'}{'start'} = 0;
>         $Safe{'scratch'}{'matchlimit'} = 3;
>         return '';
> [/perl]
> <table border="0">
> <tr>
>         [loop search="
>                 st=sql
>                 sq=select code from products where DISPLAY = 'FEATURED'
>                 "]
>                 <td>
>                 <center><font face="tahoma,verdana,arial" color="#0066cc">[loop-field title]</font></center><br>
>                 <A HREF="[area [loop-code]]"><IMG SRC="[loop-field image]" ALT="[loop-field title]" BORDER="0"></A>
>                 [perl arg=scratch interpolate=0]
>                         $Safe{'scratch'}{'start'}++;
>                         if ($Safe{'scratch'}{'start'} %2 == 0) {
>                         return "</TR><TR>";
>                 }
>                 [/perl]
>                 </td>
>         [/loop]
> </TR>
> </TABLE>
>
> --
> ========= << raj >>  ==  http://www.brainlink.com/~frostbit/ ==============
> SYSADMIN: BrainLINK International, Inc.                      (718) 805-6545
> http://www.brainlink.com
>
>                                  Visit Hindustan.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

--
--------------------------
Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-6-6925757
Fax: 972-6-6925858
http://www.canaan.co.il
--------------------------




Search for: Match: Format: Sort by: