Announcement

Collapse
No announcement yet.

NETQUOTEVAR problems

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

    NETQUOTEVAR problems

    I've just re jigged my site so that it now shows my fragments in four columns, all fine so far, I've used the code on the Knowledge Base. the only problem that I'm having is that NETQUOTEVAR:BROCHURE_TEXT is showing under the title of each fragment. Can someone help me get rid of it?

    Cheers

    Shaun
    Shaun

    www.mailorder4x4.com

    Landrover, Range Rover, Discovery and Freelander Spares & Accessories.

    #2
    we will need to the site to help diagnose, whats the URL please

    Comment


      #3
      Looking at the site:
      http://www.mailorder4x4.com/index.html
      I think you should check your Act_Section**** templates for that NQV. Presumably you modified one of them.

      Comment


        #4
        I modded the brochure page using the HTML text copied from the Knowledge Base so I don't know where the error has crept in. Any ideas?

        Here is the text that generates the page:
        <!-- BrochurePrimary HTML begin -->
        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
        <HTML>
        <HEAD>
        <TITLE>NETQUOTEVAR:PAGETITLE</TITLE>
        <Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF" FORCED=NETQUOTEVAR:BASEHREFFORCED/>
        <META NAME="ACTINICTITLE" CONTENT="NETQUOTEVAR:PAGEHEADER">
        <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
        <!--@act NETQUOTEVAR:HEADERMETA -->
        <!--@act NETQUOTEVAR:P3PFULLPOLICYLINK -->
        <!--@act NETQUOTEVAR:LOADFUNCTION -->
        <LINK REL=STYLESHEET HREF="actinic.css">
        <SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
        <SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
        </HEAD>

        <BODY NETQUOTEVAR:BGIMAGE OnLoad="NETQUOTEVAR:ONLOAD" NETQUOTEVAR:BGCOLOR TEXT="NETQUOTEVAR:FGCOLOR" NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

        <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr background="bg_top.gif">
        <td background="bg_top.gif" height="60" width="50%" valign="bottom" align="left">NETQUOTEVAR:BROCHURELOGO</td>
        <td background="bg_top.gif" height="60" width="50%" valign="middle" align="right"><a name="top"></a>
        &nbsp; </td>
        </tr>
        <tr valign="middle" align="center" background="pxl_black.gif">
        <td height="30" colspan="2" background="pxl_black.gif">NETQUOTEVAR:HEADERGUIDE</td>
        </tr>
        <tr background="pxl_blue.gif">
        <td height="1" colspan="2" valign="bottom" align="left" background="pxl_blue.gif"><img src="pxl_blue.gif" width="1" height="1"></td>
        </tr>
        <tr background="pxl_green.gif">
        <td height="20" colspan="2" valign="bottom" align="left" background="pxl_green.gif"><img src="spacer.gif" width="1" height="20"></td>
        </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td width="200" valign="top" align="left" background="pxl_black.gif">&nbsp;
        </td>
        <td height="300" valign="top" align="left" background="pxl_black.gif">
        <table border="0" cellspacing="0" cellpadding="0" width="CUSTOMVAR:ACTSTDWIDTH" align="CENTER">
        <tr>


        <td valign=MIDDLE align=LEFT >
        <Actinic:NOWSERVING/>
        <Actinic:CURRACCOUNT/><Actinic:BROCHURE_LOGOUT_SIMPLE/>

        <!-- NETQUOTEVAR:REGISTEREDLOGIN -->
        <script language=JavaScript>
        <!--
        var currentcol = 0;
        var colwidth = Math.floor(100 / CUSTOMVAR:NUMCOLS);
        // -->
        </script>

        <table width="CUSTOMVAR:ACTSTDWIDTH" cellpadding="5" cellspacing="0" border="0" cols="3">

        NETQUOTEVAR:BROCHUREBODY

        <script language=JavaScript>
        <!--
        if ( currentcol != 0 )
        {
        while ( currentcol++ < CUSTOMVAR:NUMCOLS ) document.write('<td width="' + colwidth + '%">&nbsp;</td>');
        document.write('</tr></table></td></tr>');
        currentcol = 0;
        }
        // -->
        </script>

        </table>

        </td>
        </tr>
        <tr background="pxl_blue.gif">
        <td colspan="2" valign="top" align="left" background="pxl_blue.gif"><img src="pxl_blue.gif" width="1" height="1"></td>
        </tr>
        <tr align="right" valign="middle" background="pxl_green.gif">
        <td colspan="2" height="50" background="pxl_green.gif"><img src="back_to_top.gif" width="108" height="27" border="0" alt="Back to Top" OnClick="GotoAnchor('top')">&nbsp; &nbsp; </td>
        </tr>
        </table>
        NETQUOTEVAR:POWEREDBY</BODY>
        </HTML>
        <!-- BrochurePrimary HTML end -->



        And the HTML that creates the fragments:

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

        NETQUOTEVAR:FRAGMENTANCHOR
        <table border="0" width="100%" cellpadding="5" cellspacing="1">
        <tr>
        <td valign="top" align="left">NETQUOTEVAR:BROCHURE_IMAGE</td>
        </tr>
        <tr>
        <td valign="top">
        <strong>NETQUOTEVAR:BROCHURE_TITLE</strong><br><br>
        NETQUOTEVAR:BROCHURE_TEXT</td>
        </tr>
        </table>

        </td>

        <script language=JavaScript>
        <!--
        if ( currentcol >= CUSTOMVAR:NUMCOLS )
        {
        document.write('</tr></table></td></tr>');
        currentcol = 0;
        }
        // -->
        </script>

        <noscript></tr></noscript>

        Cheers

        Shaun
        Shaun

        www.mailorder4x4.com

        Landrover, Range Rover, Discovery and Freelander Spares & Accessories.

        Comment


          #5
          Hi All

          Having just copied the HTML file for the fragment I may have seen the answer, do I just need to cut the NETQUOTEVAR:BROCHURE_TEXT line?

          <strong>NETQUOTEVAR:BROCHURE_TITLE</strong><br><br>
          NETQUOTEVAR:BROCHURE_TEXT</td>
          </tr>


          Cheers

          Shaun
          Shaun

          www.mailorder4x4.com

          Landrover, Range Rover, Discovery and Freelander Spares & Accessories.

          Comment


            #6
            Use &lt;!-- --&gt;

            Simply enclose the line with <!-- --> and see what happens.

            This will mean the HTML will be ignored between these tags.

            Do a Preview and see what happens ?

            If its goes pear, revert to the original and be careful with cut and paste mods.

            Template mods are better done one step at a time checking after every step.

            In fact I got into the habit of doing this on all mods on templates and identing the changes using these tags for traceability, e.g.

            HTML Code:
            <!-- Mod 1 SW 10/06/07 Change Table Layout to Columns etc etc --> 
            <!-- remove --> 
            <!-- <table etc etc etc etc -->

            It can help even though is a bit long winded.

            Also always change a modified template from

            Act_SectionLineImage.html to My_SectionLineImage.html

            Makes recovery of cock ups much quicker.
            Hope this helps, S.
            esafetysigns.co.uk
            your instant download portal for self printable health and safety signs and posters
            ... download once use as many times as you like !


            http://www.esafetysigns.co.uk/index.html
            http://www.esafetysigns.co.uk/acatalog/index.html

            Comment

            Working...
            X