We've moved! You can find modules, themes and widgets on http://addons.silverstripe.org.
This page will no longer be updated, and disappear soon. Module maintainers, please read our announcement to find out how to add your modules there.

Nested Menu [va73c984d8e]

Maintainer(s): markjames
Supported by: Community

Adds template functions for nested SiteTree menus

A SilverStripe module which adds template functions for a nested SiteTree menu.

The module will add the methods NestedMenu and HasNestedMenu to the SiteTree class via extension and and makes those methods available in the templates. This decorator also adds a checkbox field (ShowChildrenInMenus) to the CMS admin interface to allow CMS users to hide all of the sub-pages of a page from the nested menu.

You can start at a sub level (good for when you have a horizontal top-level nav) by calling NestedMenu with a parameter indicating the level to start at, or limit the maximum depth of the nesting by specifying a second parameter. You can also use HasNestedMenu to include additional markup if a menu is available.

Module screenshot


  • Latest release

    Version: [va73c984d8e]
    Date: 2011-11-24
    Compatible with: SilverStripe 2.4
    Download: No Download Available

    Git access:
    Branch: master
    Tag: HEAD

  • Latest master build

    To get a preview of our next release, download the latest build of unstable git master branch here. Please be careful: this is more likely to contain bugs, especially on modules undergoing a lot of development.

    SHA hash: 2e1a7665b61f543edd25def0b02d19753ec219bd
    Build Date: 2012-02-14
    Download: silverstripe-nestedmenu-master-HEAD.tar.gz

    Unstable Git access: git://github.com/markjames/silverstripe-nestedmenu.git


Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.