Announcement

Collapse
No announcement yet.

Section List - suppressing display of sub-sections

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

    Section List - suppressing display of sub-sections

    I couldn't find anything relating to this so thought I'd post for info.
    Sorry if it has been posted before.

    In the Section List in left side bar, I didn't want the sub-sections showing there - just in the inner layout when the section was selected.

    Design|Library|Layouts - expand the Web Page Outer Layout
    Open [in my case] "Works Best with Smart" and navigate to around line 52

    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="#00ff00">' + ar[i].pChild[j].sName + '</span></a><br />';
    
                }
    
              }
    
            }
    Then do the same for the Layout "Works Best With Smart Brochure Pages" at approx line 41 IIRC
    Kind Regards
    Sean Williams

    Calamander Ltd

    #2
    Originally posted by Sean Williams
    Sorry if it has been posted before.
    It was in the v7 forum as well but handy to have here for noobs who have come straight in at v8 and may not realise a lot of the v7 stuff is still relevant in v8.


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Originally posted by jont
      It was in the v7 forum as well but handy to have here for noobs who have come straight in at v8 and may not realise a lot of the v7 stuff is still relevant in v8.
      That's useful to know Jonty - being a V8 noob I wasn't aware of this - I haven't been paying much attention to anything other than V8 as I assumed it wasn't relevant.

      I shall pay more attention in future
      Kind Regards
      Sean Williams

      Calamander Ltd

      Comment

      Working...
      X