Announcement

Collapse
No announcement yet.

Problem with product and section templates

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problem with product and section templates

    Can you help:

    I am endeavouring to get my website's "Product layout" (ACT_ProductLine) to match the look of the "section layout" (ACT_SectionLineBoxes) - the purpose being to give the products an outline border which makes them match....Making sense?..... No.

    I can add a border manually using basic HTML but it doesn't look quite the same.

    The only problem is that aside from being a good freefall skydiver and part time greengrocer(:-), I am a lousy HTML editor.

    Can any one help?


    Here's the HTML for both sections:


    ACT_SectionLineBoxes

    <!-- SectionLine HTML begin -->
    <!-- Insert HTML for the beginning of a section title -->

    <DIV ALIGN="LEFT">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="thinred2">
    <tr>
    <td height="20" class="boxheader">&nbsp;&nbsp;<span class="actsmallheading"><strong><a href="NETQUOTEVAR:SECTIONLINK" class="boxlink">NETQUOTEVAR:SECTIONNAME</a></strong></span></td>
    </tr>
    <tr>
    <td><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="10">
    <TR>
    <TD VALIGN="top"> <A HREF="NETQUOTEVAR:SECTIONLINK">NETQUOTEVAR:SECTIONIMAGE</A>
    </TD>
    <TD VALIGN="top">NETQUOTEVAR:SECTIONTEXT </TD>
    </TR>
    </TABLE></td>
    </tr>
    </table>

    </DIV>
    NETQUOTEVAR:NEXT
    <!-- Insert HTML for the end of a section title -->
    <!-- SectionLine HTML end -->




    ACT_ProductLine


    <!-- ProductLine HTML begin -->
    <!-- Insert HTML for the top of the individual product -->
    <!-- NETQUOTEVAR:INCLUDE Act_ProductSeparator.html -->
    NETQUOTEVAR:ENDSEPARATOR
    NETQUOTEVAR:PRODUCTFORMBEGIN
    <script language=JavaScript>
    <!--
    if ( currentcol++ == 0 ) document.write('<tr><td colspan=3><table border=0><tr>');
    document.write('<td width="' + colwidth + '%" valign=top>');
    // -->
    </script>
    <noscript><tr><td width="100%"></noscript>
    <!-- START each product lives in this table - alter below to rearrange items -->
    <table width="100%" border="1" bordercolor="99ccff">
    <tr>
    <td colspan=2>
    <a name="NETQUOTEVAR:PRODUCTANCHOR"><span class="actregular"><b>NETQUOTEVAR:PRODUCTNAME</b></span></a>
    <span class="actxsmall">NETQUOTEVAR:PRODUCTREF
    </td>
    </tr>
    <tr>
    <td valign="TOP" align="CENTER"> NETQUOTEVAR:TEMPLATEBEGINXML NETQUOTEVAR:PRODUCTIMAGE </td>
    <td valign="TOP">
    NETQUOTEVAR:EXTINFOLINK</span>NETQUOTEVAR:EXTINFOBUTTON
    <br>
    <span class="actxsmall">NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTLINKTEXTNETQUOTEVAR:PRODUCTENDLINK
    NETQUOTEVAR:PRICEEXPLANATION </span><br>
    <b>NETQUOTEVAR:PRODUCTPRICE</b>
    </td>
    </tr>
    <tr>
    <td colspan=2>
    NETQUOTEVAR:PRODUCTDESCRIPTION
    <span class="actxsmall">NETQUOTEVARISCOUNTINFO </span>
    <span class="actxsmall">NETQUOTEVAR:OTHERINFOPROMPT </span>
    <span class="actxsmall">NETQUOTEVARATEPROMPT </span>
    </td>
    </tr>
    <tr>
    <td align="LEFT" colspan="2">
    <span class="actxsmall">
    NETQUOTEVAR:CARTERRORXMLNETQUOTEVAR:PRODUCTQUANTITY<br>
    <Actinic:ACTIONS>NETQUOTEVAR:ADDTOCARTBUTTON</Actinic:ACTIONS>
    </span>
    NETQUOTEVAR:TEMPLATEENDXML
    </td>
    </tr>
    </table>
    <!-- END each product lives in this table - alter above to rearrange items -->
    </td>
    NETQUOTEVAR:PRODUCTFORMEND
    <script language=JavaScript>
    <!--
    if ( currentcol >= CUSTOMVAR:NUMCOLS )
    {
    document.write('</tr></table></td></tr>');
    currentcol = 0;
    }
    // -->
    </script>
    <noscript></tr></noscript>


    NETQUOTEVAR:NEXT
    <!-- Insert HTML for the bottom of the individual product -->
    <!-- ProductLine HTML end -->
    Last edited by Dameon; 06-Jul-2004, 01:43 PM. Reason: Wrong title

    #2
    Hi Dameon,

    If Iam right, you want to use the similar outline border layout (which you already have for your products) throughout the Sections. Please save the attached 'Act_SectionLine.txt' file as 'Act_SectionLine.html' in your Site1 folder and preview the results.

    Hope this helps.

    Cheers,
    Attached Files
    Cheers,
    Suresh Babu G

    Comment

    Working...
    X