Akopia Akopia Services

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

Re: [mv] Displaying items in a table.



******    message to minivend-users from Johan Landman <johan@datatex.co.za>     ******


----- Original Message -----
From: Aboubacar Diare <asd@sykemo.ccit.arizona.edu>
To: <minivend-users@minivend.com>
Sent: Monday, January 17, 2000 10:00 AM
Subject: [mv] Displaying items in a table.


> ******    message to minivend-users from Aboubacar Diare
<asd@sykemo.CCIT.Arizona.EDU>     ******
>
>
> I am trying to display items from my products.asc file in a table by
> scanning for a given category.  I was wondering if anyone ever
> successfully did such a thing.
>
> Thank you.
>
> Aboubacar.
>
Try something like this in your results.html page

### Remove anything between this line
[condition][item-field brand][item-field producttype][/condition]
### and this
[no-match]

### and insert this bewteen those lines. Change depending on your field
names

<TABLE WIDTH="100%">
  <TR __TABLEHEAD__>
    <TD ALIGN=CENTER>
      <B> [item-field producttype] from [item-field brand] under [item-field
category]</B>
    </TD>
  </TR>
</TABLE>
<TABLE CELLPADDING="2" CELLSPACING="1" border="1" width="100%">
<TR __HEADERBG__>
<TD ALIGN=CENTER>CODE</TD>
<TD ALIGN=CENTER>DESCRIPTION</TD>
<TD ALIGN=CENTER>PKT</TD>
<TD ALIGN=CENTER>STK</TD>
<TD ALIGN=CENTER>PRICE</TD>
<TD ALIGN=CENTER>BUY</TD>
</TR>
[/on-change 1]
    <TR> <TD VALIGN="top">
          <A HREF="[area [item-code]]">
             <FONT COLOR="#0000cc">
             [item-code] </FONT> </A>
         </TD>
         <TD VALIGN="top" nowrap>
             [item-field description]
         </TD>
         <TD VALIGN="top">
             [item-field count]
         </TD>
         <TD VALIGN="top">
          <A HREF="[area stock]">
             <FONT COLOR="#0000cc">
             [item-field stock]
         </TD>
         <TD VALIGN="top">
              [item-price]
         </TD>
         <TD VALIGN="top">
             <A HREF="[area order [item-code]]" CLASS="buybtn">
                   <FONT COLOR="#0000cc">
                   Buy</FONT> </A>
        </TD>
    </TR>
[/search-list]
[if value mv_search_match_count > 1]
  </Table>
[/if]

> -
> 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: