21307 Posts in 5737 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 523 Views |
-
Sub Pages Help

8 July 2011 at 11:30pm
I have had my website for a while now but still cannot work out how to get sub pages!
When I am in the admin part of my website I can see them and I am able to edit the content but when viewing my webpage they don't seem to exist.
I should point out that I have extremely little knowledge on websites etc so there may be a very simple solution!
-
Re: Sub Pages Help

9 July 2011 at 12:13am
compare that with the black candy theme for layout/Page.ss.
There should be something like...
<% include SideBar %>
this says "include side bar" (err, yeah), then in includes/SidBar.ss there should be something like...<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>
and this code says, for each child page show a link (and if current page is one of these children, then show it's children too).My guess is that higher ground doesn't implement this...
| 523 Views | ||
|
Page:
1
|
Go to Top |


