I tried inserting this into my page.ss and when I flush the page it brakes the site by giving it a a blank page.
Do you have any idea by either looking at the code below for the URLSegment or by looking at all the code in my page.ss file if there is something I am messed up?
<div id="sidebar" >
<% if URLSegment != Home %>
<% if ChildrenOf(Home) %>
<ul id="SideNav">
<% control ChildrenOf(home) %>
<li class="$LinkingMode">
<a href="$Link" title="Go to the $Title Menu">$Title</a>
</li>
<% end_control %>
</ul>
<% end_if %>c
-----------------------------------------------------
Here is all the (messy) code in my page.ss :)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" lang="en">
<head>
<% base_tag %>
$MetaTags
</head>
<body class="typography">
<div id="wrap">
<div id="header">
<div class="clear">
</div>
<% include Navigation %>
</div>
<div id="content-wrap">
<div id="sidebar" >
<% if URLSegment != Home %>
<% if ChildrenOf(Home) %>
<ul id="SideNav">
<% control ChildrenOf(home) %>
<li class="$LinkingMode">
<a href="$Link" title="Go to the $Title Menu">$Title</a>
</li>
<% end_control %>
</ul>
<% end_if %>
<% if InSection(x) %>
<div id="main">$Layout </div>
<% else %>
<div id="mainsub"> $Layout </div>
<div id="bulletin_right">
<% include bulletinboard %>
$Sidebar
<% control Level(1) %>
<% if Title = Home %>
<% include bulletinboard1 %>
<% end_if %>
<% end_control %>
<% control Level(1) %>
<% if Title = Contact %>
<% include bulletinboard1 %>
<% end_if %>
<% end_control %>
<% control Level(1) %>
<% if Title = Menus %>
<% include bulletinboard2 %>
<% end_if %>
<% end_control %>
</div>
<% end_if %>
</div>
<div id="footer">
<div class="footer-left">
<% include Footer %>
</div>
</div>
</div>
</body>
</html>