PHPackages                             ninty9notout/sitetreenav - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. ninty9notout/sitetreenav

ActiveSilverstripe-module[Templating &amp; Views](/categories/templating)

ninty9notout/sitetreenav
========================

An extension which provides the functionality to add nested SiteTree menus into the template.

v1.0(11y ago)1181[1 PRs](https://github.com/ninty9notout/sitetreenav/pulls)PHP

Since Oct 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ninty9notout/sitetreenav)[ Packagist](https://packagist.org/packages/ninty9notout/sitetreenav)[ RSS](/packages/ninty9notout-sitetreenav/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Overview
--------

[](#overview)

An extension which provides the functionality to add nested `` SiteTree menus into the template.

Since this was created to be used as a secondary navigation, this extension will output the tree menu from the second level of hierarchy, and will omit the top-most level (Home, About Us, Contact Us, etc) while listing only it's children.

Requirements
------------

[](#requirements)

Requires a SilverStripe 3 () installation.

Installation:
-------------

[](#installation)

- Put the module in your SilverStripe installation
- Rebuild the class manifest using `/dev/build?flush=all`

Basic usage:
------------

[](#basic-usage)

Place `$SiteTreeNav` somewhere in the theme. This will output the following HTML:

```

	Our Services

		The Team

			The CEO
			The Secretary

	Another Page

```

The relevant classes will be applied to the `` for styling purpose. The `.active` class marks the page that is currently being viewed, while the `.section` class represents the current sub level that is being viewed. In the example above, an user is viewing the page "The Secretary" which is a child of "The Team" page under the "About Us" section of the website.

Development and Contribution
----------------------------

[](#development-and-contribution)

This is an unofficial second version of the [Nested Menu](https://github.com/markjames/silverstripe-nestedmenu) module by [Mark James](https://github.com/markjames), which provides the same functionality for SilverStripe 2.

Have any changes in mind?

- Fork from GitHub
- Do your thing
- Make a pull request
- ???
- Profit

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity63

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4214d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/94c5639f54905f25766f72d4800775595c1b690d052aac1095ea193785c3d37e?d=identicon)[ninty9notout](/maintainers/ninty9notout)

---

Tags

silverstripesitetreenav

### Embed Badge

![Health badge](/badges/ninty9notout-sitetreenav/health.svg)

```
[![Health](https://phpackages.com/badges/ninty9notout-sitetreenav/health.svg)](https://phpackages.com/packages/ninty9notout-sitetreenav)
```

###  Alternatives

[silverstripe-themes/simple

The SilverStripe simple theme (default SilverStripe 3 theme)

411.3M8](/packages/silverstripe-themes-simple)[unclecheese/bootstrap-forms

Allows you to create forms in SilverStripe that are compatible with Twitter Bootstrap.

5539.4k](/packages/unclecheese-bootstrap-forms)[silverstripe/login-forms

A collection of templates for the CMS login screens

191.3M26](/packages/silverstripe-login-forms)[stevie-mayhew/silverstripe-svg

Basic SVG support for SilverStripe

23326.5k4](/packages/stevie-mayhew-silverstripe-svg)[nobrainerweb/silverstripe-content-blocks

Split your page content into manageable blocks/sections of content, each with their own template

301.5k](/packages/nobrainerweb-silverstripe-content-blocks)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
