Announcement

Collapse
No announcement yet.

Removing subsection links from left-hand menu

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

    Removing subsection links from left-hand menu

    I am designing a new site and would be grateful if someone could help me out.

    I would like to be able to customise which links are displayed on the section menu on the left-hand side of the site, does anyone know how this can be done?

    My site is here
    <a href="http://www.rfsolutions.co.uk">RF Solutions Ltd - Remote Control, Bluetooth, Zigbee, RFID, GSM and GPS Products</a>

    #2
    Hi there

    Which links in particular are you wanting to appear/not appear on the left hand menu?

    The section links are controlled by some java script in the act_primary.html template, this can be amended to have just top level sections appearing if thats what you want...

    Comment


      #3
      Wanted to remove the bottom child of each section.

      I've got it now (by changing the inner loop exit condition) thanks James.
      <a href="http://www.rfsolutions.co.uk">RF Solutions Ltd - Remote Control, Bluetooth, Zigbee, RFID, GSM and GPS Products</a>

      Comment


        #4
        Also, you could just comment out the section of the java script that brings in the child sections in the act_primary template.

        The lines you would comment out are -

        {
        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>';
        }
        }
        }
        }
        ________

        Comment


          #5
          THIS THREAD contains the code you can use just for top level sections (and no sub-sections).

          Comment

          Working...
          X