Announcement

Collapse
No announcement yet.

Sections display

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

    Sections display

    Hi all,
    I am using V7 02 and the specific designs 'smart' theme, this displays the sections and the first sub sections in the L/H coloumn, is there a simple way I can limit this to just display the main sections and not the subs. Please make any reply idiot proof
    Thanks
    Pete

    #2
    Edit Act_Primary.html (in Site1 - back it up first) and delete the following chunk
    Code:
          {
          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>';
                }
              }
            }
          }
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks that works fine now
      Pete

      Comment


        #4
        Glad that helped. Note that some pages (Checkout, Receipt, etc) may use different Primary Templates to Act_Primary.html, so you may wish to make the same change to each template in Design / Options / Layouts / Primary Templates.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment

        Working...
        X