Sections with manual left navigation

Pages with the Visible page setting set to Yes appear in both the left navigation of appropriate pages and in the site map.  To limit the size of the site map, and enhance its utility, it is therefore best to normally restrict the pages with Visible set to Yes to the top two levels.  Exceptions can be made where it is useful to have more appear in the site map.  Check the site map to help determine the best action in any one case.

Note that pages with Visible set to Yes none-the-less don't show in the left navigation or the site map if a higher-level page has Visible set to No.

Left navigation plugins are used to provide navigation within a small part of the site, for pages with the visible page setting set to No.

This provides easy access to these pages, while keeping the sitemap reasonably-sized.

For smaller sections that don't change their structure much (e.g. an archived conference site), use regular content plugins.

For sections with fairly dynamic structures (e.g. CPHA's next annual conference), use global content plugins.

This left navigation plugin is always the top plugin  in this column (i.e. immediately under the left navigation supplied by the CMS.

The plugin must contain the following code:

  • at the top:
    <div id="subnav">
      <ul class="depth_0">
        <li>link to top page of this section
          <ul class="depth_1">
  • at the bottom:
        </ul></li>
      </ul>
    </div>

Within this, add as required:

  • For each second-level link:
            <li>link to a page</li>
  • To provide a line break before a second-level link (to group these):
            <li class="newgroup">link to a page</li>

If more levels are required, see the webmaster.



Sample code (from /en/conferences/archives/conf2011.aspx):

<!-- en/lnav -->
<div id="subnav">
 <ul class="depth_0">
  <li><a href="/en/conferences/archives/conf2011.aspx">CPHA 2011 Annual Conference</a>
   <ul class="depth_1">
    <li><a href="/en/conferences/archives/conf2011/overview.aspx">Conference overview</a></li>
    <li class="newgroup"><a href="/uploads/confs/2011/program_b.pdf">Program</a></li>
    <li><a href="http://resources.cpha.ca/CPHA/Conf/Code/Presentations_2011.php?y=2011&amp;l=E">Presentations</a></li>
    <li class="newgroup"><a href="/en/conferences/archives/conf2011/awards.aspx">Award Winners</a></li>
    <li class="newgroup"><a href="/en/conferences/archives/conf2011/collaborators.aspx">Collaborators</a></li>
    <li><a href="/en/conferences/archives/conf2011/committee.aspx">Committee members</a></li>
   </ul>
  </li>
 </ul>
</div>