3217 Posts in 853 Topics by 812 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1081 Views |
-
Showing Deep Subpages on Sidebar?

25 August 2009 at 6:44am
My subpages go 4 pages deep. The sidebar in Blackcandy only shows three levels. Can I modify the sidebar.ss template to show the fourth level in the sidebar? I've searched the forums but couldn't find the answer.
-
Re: Showing Deep Subpages on Sidebar?

25 August 2009 at 7:19am
I just want to clarify: I have the first level in the tabs at the top and then I want to show three sub-levels in the sidebar. Here's my sidebar code as it stands now:
<div id="Sidebar" class="typography">
<div class="sidebarBox">
<h3>
<% control Level(1) %>
$Title
<% end_control %>
</h3>
<ul id="Menu2">
<% control Menu(2) %>
<% if Children %>
<li class="$LinkingMode"><a href="$Link" title="Go to the $Title.XML page" class="$LinkingMode levela"><span> <em>$MenuTitle.XML</em></span></a>
<% else %>
<li><a href="$Link" title="Go to the $Title.XML page" class="$LinkingMode levela"><span><em>$MenuTitle.XML</em></span></a>
<% end_if %>
<% if LinkOrSection = section %>
<% if Children %>
<ul class="sub">
<li>
<ul class="roundWhite">
<% control Children %>
<li><a href="$Link" title="Go to the $Title.XML page" class="$LinkingMode levelb"><span><em>$MenuTitle.XML</em></span></a></li><% end_control %>
</ul>
</li>
</ul>
<% end_if %><% end_if %>
</li>
<% end_control %>
</ul>
<div class="clear"></div>
</div>
<div class="sidebarBottom"></div>
</div> -
Re: Showing Deep Subpages on Sidebar?

16 April 2010 at 4:03am
Have you tried simply adding another <% if Children %><% control Children %> .levelc block? The code is hard to read…
| 1081 Views | ||
|
Page:
1
|
Go to Top |

