Announcement

Collapse
No announcement yet.

section list not visible on search page

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

    section list not visible on search page

    I'm very new to actinic and was wondering why the section list which I have visible in the left column on my catalog pages disappears on the search page. How can I get this to be included?
    Help would be appreciated. I am using one of the clean themes and the section list appears on all the other catalog pages without a problem.
    Thanks
    Keith

    #2
    This is a really frustrating limitation of the variable NETQUOTEVAR:TOPLEVELSECTIONSTOP within the overall layout template (Act_Primary.html).

    If you are feeling confident with HTML, you can try replacing it with a section list created by JavaScript.

    To do this, go to 'Design | Options | Layouts' and click 'Edit' next to 'Default Overall Layout'. Find the line that says
    Code:
    <SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
    Underneath this paste in the following:
    Code:
    <!--@act NETQUOTEVAR:SECTIONTREE_RAW -->
    
    <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
    <!--
    function SectionList(ar)
    {
    var strIDs = '<table border=0 width=95% cols=2>';
    for (var i=1;i<=ar.length;i++)
    {
    if (ar[i].sURL !=null)
    {
    strIDs += '<tr><td colspan=2><a href="' + ar[i].sURL + '"><span class="actxxsmall"><font color=white>' + ar[i].sName + '</font></span></a></td></tr>';
    {
    if (ar[i].pChild)
    {
    for (var j=1;j<=ar[i].pChild.length;j++)
    {
    if (j <= ar[i].pChild.length)
    {
    strIDs += '<tr><td><img src=shim.gif width=5></td><td><a href="' + ar[i].pChild[j].sURL + '"><span class="actxxsmall"><font color=white>' + ar[i].pChild[j].sName + '</font></span></a></td></tr>';
    }
    }
    }
    }
    }
    }
    strIDs += '</table>' 
    return strIDs
    }
    //-->
    </SCRIPT>
    Then further down look for
    Code:
    NETQUOTEVAR:TOPLEVELSECTIONSTOP
    Replace this with
    Code:
    <!-- NETQUOTEVAR:TOPLEVELSECTIONSTOP--><script language=Javascript1.1>document.write(SectionList(section_tree))
    </script>

    Comment


      #3
      thanks

      Thanks Chris
      I am fine editing even complicated html by hand so no problem.

      Comment

      Working...
      X