Announcement

Collapse
No announcement yet.

Sub-sections NOT to appear in left panel?

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

    Sub-sections NOT to appear in left panel?

    In the Smart layout, the left panel shows section names AND the first level of sub-sections, which means my list goes off the bottom of the page. How do I make it show ONLY the main sections, please?
    Paul
    Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

    Using V10.2 with Norman's brilliantly simple TABBER.

    #2
    Already on the Forum. A bit of searching would have led you to:-

    In Act_Primary.html replace
    Code:
    <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
    <!--
    function YahooSections(ar)
    {
    var strIDs = '';
    for (var i=1;i<=ar.length;i++)
      {
      if (ar[i].sURL != null)
        {
        strIDs += '<a href="' + ar[i].sURL + '"><span class="actxxsmall"><b><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].sName + '</font></b></span></a><br>';
          {
          if (ar[i].pChild)
            {
            for (var j=1;j<=ar[i].pChild.length;j++)
              {
              if (ar[i].pChild[j].sURL != null)
                {
                strIDs += '<a href="' + ar[i].pChild[j].sURL + '"><span class="actxxsmall"><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].pChild[j].sName + '</font></span></a><br>';
                }
              }
            }
          }
        strIDs += '<br>'
        }
      }
    return strIDs
    }
    //-->
    </SCRIPT>
    with the considerably simplified
    Code:
    <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
    <!--
    function YahooSections(ar)
    {
    var strIDs = '';
    for (var i=1;i<=ar.length;i++)
      {
      if (ar[i].sURL != null)
        {
        strIDs += '<a href="' + ar[i].sURL + '"><span class="actxxsmall"><b><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].sName + '</font></b></span></a><br>';
        }
      }
    return strIDs
    }
    //-->
    </SCRIPT>
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thank you Norman......

      a) I had tried searching but I didn't know what I was looking for....

      b) That has fixed it on the STORE (catalog) page, but not on the HOME page - so where do I need to go for that?
      Paul
      Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

      Using V10.2 with Norman's brilliantly simple TABBER.

      Comment


        #4
        Act_BrochurePrimary.html. Make the same change there.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Your help is much appreciated. I am much impressed with this software & its support base. Long may you (we) all thrive.
          Paul
          Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

          Using V10.2 with Norman's brilliantly simple TABBER.

          Comment

          Working...
          X