start_level='2' not working?
Posted: Mon Jun 04, 2007 5:00 am
Hi CMSMS users,
I'm trying to use multiple menus in my site using the design "Sinorca 2.0", and following the directions on http://forum.cmsmadesimple.org/index.php/topic,8441.msg43404.html#msg43404 it said to use start_level='2' to accomplish this. Unfortunately, on the site I working on (bestchoiceautorentals.com) this doesn't seem to be working because the "header" and "sidebar2" parent section headers are still appearing when they shouldn't be. I must be doing something wrong...
Here is the template file:
If you need the CSS, please let me know and I will be happy to post it.
Basically, I am trying to get this website to look as close as possible to the original "Sinorca 2.0" on OSWD.
Thanks,
Max
I'm trying to use multiple menus in my site using the design "Sinorca 2.0", and following the directions on http://forum.cmsmadesimple.org/index.php/topic,8441.msg43404.html#msg43404 it said to use start_level='2' to accomplish this. Unfortunately, on the site I working on (bestchoiceautorentals.com) this doesn't seem to be working because the "header" and "sidebar2" parent section headers are still appearing when they shouldn't be. I must be doing something wrong...
Here is the template file:
Code: Select all
<!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" xml:lang="en" lang="en-AU">
<head>
{stylesheet}
{metadata}
<!-- Navigational metadata for large websites (an accessibility feature): -->
<link rel="top" href="./index.html" title="Homepage" />
<link rel="up" href="./index.html" title="Up" />
<link rel="first" href="./index.html" title="First page" />
<link rel="previous" href="./index.html" title="Previous page" />
<link rel="next" href="./index.html" title="Next page" />
<link rel="last" href="./index.html" title="Last page" />
<link rel="toc" href="./index.html" title="Table of contents" />
<link rel="index" href="./index.html" title="Site map" />
<title>{sitename}: {title}</title>
</head>
</__body>
<!-- For non-visual user agents: -->
<div id="top"><a href="#main-copy" class="doNotDisplay doNotPrint">Skip to main content.</a></div>
<!-- ##### Header ##### -->
<div id="header">
<div class="superHeader">
<div class="left">
<span class="doNotDisplay">Related sites:</span>
<a href="http://bestchoiceautorentals.com">Home</a> |
<a href="http://bestchoicebuys.com">BestChoiceBuys</a>
</div>
<!--
<div class="right">
<span class="doNotDisplay">More related sites:</span>
</div>
-->
</div>
<div class="midHeader">
<h1 class="headerTitle">BestChoice Auto Rentals</h1>
</div>
<div class="subHeader">
<span class="doNotDisplay">Navigation:</span>
{cms_module module="menumanager" template='bcheader' start_page="header" start_level='2'}
</div>
</div>
<!-- ##### Side Bar ##### -->
<div id="side-bar">
<div>
<p class="sideBarTitle">Navigation</p>
{cms_module module="menumanager" template='bestchoice' start_page="home"}
</div>
<div>
<p class="sideBarTitle">Specials!</p>
{cms_module module="menumanager" template='bestchoice' start_page="sidebar2" start_level='2'}
</div>
<div class="lighterBackground">
<p class="sideBarTitle">News</p>
<span class="sideBarText">
{cms_module module="news"}
</span>
</div>
<div>
<p class="sideBarTitle">Validation</p>
<span class="sideBarText">
Validate the <a href="http://validator.w3.org/check/referer">XHTML</a> and
<a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> of this page.
</span>
</div>
</div>
<!-- ##### Main Copy ##### (Use <h1> for blue bar) -->
<div id="main-copy">
{content}
</div>
<!-- ##### Footer ##### -->
<div id="footer">
<div class="left">
Ph. 250-861-3339 Fax. 250-861-7026<br /> {mailto address="info@bestchoiceautorentals.com" text="E-Mail" encode="javascript"}
<a href="./index.html" class="doNotPrint">Map</a>
</div>
<br class="doNotDisplay doNotPrint" />
<div class="right">
© 2007 Best Choice Auto Rentals<br />
<!--<a href="./index.html" class="doNotPrint">About</a>-->
<br />
</div>
</div>
<__body>
</__html>
If you need the CSS, please let me know and I will be happy to post it.
Basically, I am trying to get this website to look as close as possible to the original "Sinorca 2.0" on OSWD.
Thanks,
Max