17 votes

Cogworks - Flexible Navigation

 

This is a simple package that provides a flexible and customisable navigation macro.

It's most common use case would be to provide a top navigation (which would list out all pages at a certain level) and an expanding sub navigation (which would list all sub pages of a page, then as the user selects further children the sub navigation would expand)

This type of navigation can be seen here:

http://www.barclay.ie/uk/agriculture-products/micronutrients/bvr-zinc700

Example macro tag for a top navigation:

<umbraco:Macro startingLevel="1" recurse="0" selectBranches="1" maxMenuDepth="1" ulBaseClass="horizontal" branchClass="branch" selectedClass="selected" securityTrimming="1" Alias="[COG]Navigation" runat="server"></umbraco:Macro>

Example macro tag for a sub navigation:

<umbraco:Macro startingLevel="2" recurse="1" selectBranches="1" maxMenuDepth="999" ulBaseClass="vertical" branchClass="branch" selectedClass="selected" securityTrimming="1"  Alias="[COG]Navigation" runat="server"></umbraco:Macro>

This package no defaults to the 4.5+ compatible version when you download it. This means you will nedd to be running the new XML schema. If you are still using the Legacy XML schema or a pre 4.5 version of Umbraco you will need to download the previous version of this project.

Please remember to up vote this package is you like it or use it or if not leave a comment saying what needs to be improved!

 

Screenshots

 Download package
version 1.0

Project owner

Tim Saunders

Tim Saunders

Tim has 678 karma points

Project Compatibility

This project is compatible with the following versions as reported by community members who have downloaded this package:
7.3.x (untested)
7.2.x (untested)
7.1.x (untested)
7.0.x (100%)
6.1.x (untested)
6.0.x (untested)
4.11.x (untested)
4.10.0 (untested)
4.9.1 (untested)
4.9.0 (100%)

You must login before you can report on package compatibility.

Project Information

  • Project owner: Tim Saunders
  • Created: 23/07/2009
  • Current version 1.0
  • License MIT
  • Downloads: 12220
Our.umbraco.org is the community mothership for Umbraco, the open source asp.net cms. With a friendly forum for all your questions, a comprehensive documentation and a ton of packages from the community. This site is running Umbraco version 7.3.0-RC