Results 1 to 2 of 2
  1. #1
    Newbie
    Join Date
    January 18th, 2005
    Posts
    15
    I tried the following code but a get the same product in each cell rather that a different one for cell.

    <table border="3" bgcolor="#FFFFFF">
    <tr>
    <td>

    [WM-RECORD][WM-IndexLabel: CATEGORY]
    <BR><font color="#FF0000" size="4">[WM-FIELD: CATEGORY]</font><BR>
    <table border="0" bordercolor="#111111" width="794"

    <tr>
    <td align="center" width="258"><table>
    <tr>
    <td width="120" height="120" valign="top">
    [WM-IMAGEPATH: THUMBNAIL_IMAGE raw]
    </td>
    </tr>
    <tr>
    <td align="center" width="100" height="60" valign="top">
    <font face="arial,helvetica,verdana" size="1" color="#003399">
    [WM-FIELD: PRODUCT_NAME]
    </font>

    </td>
    </tr>
    </table>
    </td>
    <td align="center" width="259"><table>

    <tr>

    <td width="120" height="120" valign="top">
    [WM-IMAGEPATH: THUMBNAIL_IMAGE raw]
    </td>
    </tr>
    <tr>
    <td align="center" width="100" height="60" valign="top">
    <font face="arial,helvetica,verdana" size="1" color="#003399">
    [WM-FIELD: PRODUCT_NAME]
    </font>

    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td align="center" width="258"><table>

    <tr>

    <td width="120" height="120" valign="top">
    [WM-IMAGEPATH: THUMBNAIL_IMAGE raw]
    </td>
    </tr>
    <tr>
    <td align="center" width="100" height="60" valign="top">
    <font face="arial,helvetica,verdana" size="1" color="#003399">
    [WM-FIELD: PRODUCT_NAME]
    </font>

    </td>
    </tr>
    </table>
    </td>
    <td align="center" width="259"><table>

    <tr>

    <td width="120" height="120" valign="top">
    [WM-IMAGEPATH: THUMBNAIL_IMAGE raw]
    </td>
    </tr>
    <tr>
    <td align="center" width="100" height="60" valign="top">
    <font face="arial,helvetica,verdana" size="1" color="#003399">
    [WM-FIELD: PRODUCT_NAME]
    </font>

    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td align="center" width="258"><table>

    <tr>

    <td width="120" height="120" valign="top">
    [WM-IMAGEPATH: THUMBNAIL_IMAGE raw]
    </td>
    </tr>
    <tr>
    <td align="center" width="100" height="60" valign="top">
    <font face="arial,helvetica,verdana" size="1" color="#003399">
    [WM-FIELD: PRODUCT_NAME]
    </font>

    </td>
    </tr>
    </table>
    </td>
    <td align="center" width="259"><table>

    <tr>

    <td width="120" height="120" valign="top">
    [WM-IMAGEPATH: THUMBNAIL_IMAGE raw]
    </td>
    </tr>
    <tr>
    <td align="center" width="100" height="60" valign="top">
    <font face="arial,helvetica,verdana" size="1" color="#003399">
    [WM-FIELD: PRODUCT_NAME]
    </font>

    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    [/WM-IndexLabel][/WM-Record]

  2. #2
    The Eternal Optimist zimmy's Avatar
    Join Date
    January 18th, 2005
    Location
    NC
    Posts
    696
    When you look at Webmerge there are 2 tabs. One for index and one for details.

    Try setting up 2 different templates. The first one (index tab)will contain the table that you built, but only have the category data there - and only put it one time. Use the record tag and index label tag here.

    Then on your second template (the product tab) put the product data but only put it one time. Webmerge will automatically fill in all the different products under the category. Do not use the record tag here.

    The result will be 2 pages. The first page will list your different categories and the will link to the actual products.

    Hope that helps.



    ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

    The big shots are only the little shots who keep shooting.
    -Christopher Morley

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. How to Create a Automatic Price Comparison Table
    By blizzard in forum Midnight Cafe'
    Replies: 1
    Last Post: May 4th, 2006, 10:39 AM
  2. Creating your template
    By Remmy1611 in forum Programming / Datafeeds / Tools
    Replies: 6
    Last Post: July 21st, 2005, 03:51 PM
  3. My beef with WM-Record when creating a table
    By limey in forum WebMerge (Fourthworld.com)
    Replies: 7
    Last Post: February 2nd, 2004, 07:42 PM
  4. Is it possiable to make template table
    By Allen Nance in forum WebMerge (Fourthworld.com)
    Replies: 5
    Last Post: July 13th, 2003, 03:29 PM
  5. Is it possiable to make template table
    By Allen Nance in forum WebMerge (Fourthworld.com)
    Replies: 0
    Last Post: July 13th, 2003, 11:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •