Announcement

Collapse
No announcement yet.

Altering Menu entries in 'Best Sellers' layout

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

    Altering Menu entries in 'Best Sellers' layout

    Hi all.

    I'm building a new site modified from the 'Best Sellers' layout supplied with Actinic 7. I want to alter the menu to show only top level sections.

    I'm probably being unmentionably thick, but I can't see any way of doing so.

    Any advice welcomed.
    The Yo-yo Monster

    Love. Peace & Jellybabies.

    #2
    You can edit the YahooSections routine to remove the sub-section display. In your Primary templates remove
    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>';
                }
              }
            }
          }
    Alternatively you can remove the YahooSections code and use NETQUOTEVAR:TOPLEVELSECTIONSTOP to display the top-levels only.

    Searching for either of the above will return lots of additional info.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      or download the advanced user guide available on the actinic website for all menu options

      Comment


        #4
        Many thanks

        Will check my options.
        The Yo-yo Monster

        Love. Peace & Jellybabies.

        Comment

        Working...
        X