phpwax/wildfire.navigation

Maintainers

Package info

github.com/phpwax/wildfire.navigation

pkg:composer/phpwax/wildfire.navigation

Statistics

Installs: 362

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

7.1 2013-07-22 13:57 UTC

This package is auto-updated.

Last update: 2026-03-01 00:19:26 UTC


README

use:
<?=partial("nav/__navigation", array('root'=>$root));?>

$root is a WildfireNavigationItem (Primary / Footer from example below)

The idea is the top level page is the navigation block (multi-lingual)
  - Primary
    - Home
    - News
    - Contact
  - Footer
    - Sitemap
    
and similar, this way the built in sort function (for content items) will work nicely