2017 © Pedro PelĂĄez
 

library sculpin-meta-navigation-bundle

Sculpin Meta Navigation Bundle

image

janbuecker/sculpin-meta-navigation-bundle

Sculpin Meta Navigation Bundle

  • Wednesday, September 28, 2016
  • by janbuecker
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2,530 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 5 % Grown

The README.md

Sculpin Meta Navigation Bundle

This bundle creates a multidimensional array based on meta options of pages. It can be implemented using the page.menu twig variable., (*1)

Setup

Add this bundle in your composer.json file by requiring it:, (*2)

composer require janbuecker/sculpin-meta-navigation-bundle ^0.7

Now you can register the bundle in your SculpinKernel class available on app/SculpinKernel.php file:, (*3)

class SculpinKernel extends \Sculpin\Bundle\SculpinBundle\HttpKernel\AbstractKernel
{
    protected function getAdditionalSculpinBundles()
    {
        return [
           'Janbuecker\Sculpin\Bundle\MetaNavigationBundle\SculpinMetaNavigationBundle'
        ];
    }
}

Usage

All files in source will be recognized as a Content Type Page. A Twig variable page.menu can be looped to automatically generate a menu. This menu is limited to 3 dimensions., (*4)

To make a menu item visible, you have to add a menu_title to the page., (*5)

Options

  • menu_title
    Menu item title
  • menu_order
    Position of the item, low number equals top position
  • menu_style
    An additional variable to set the list style option
  • menu_chapter
    Simple boolean to inform the menu that it is a simple text
  • group
    Parent menu item title on the first dimension (root)
  • subgroup
    Parent menu item title on the second dimension

License

The MIT License (MIT). Please see License File for more information., (*6)

The Versions

28/09 2016

dev-master

9999999-dev

Sculpin Meta Navigation Bundle

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

pages navigation static tree meta blog blogging site

28/09 2016

v0.4

0.4.0.0

Sculpin Meta Navigation Bundle

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

pages navigation static tree meta blog blogging site

28/09 2016

v0.3

0.3.0.0

Sculpin Meta Navigation Bundle

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

pages navigation static tree meta blog blogging site

28/09 2016

v0.2

0.2.0.0

Sculpin Meta Navigation Bundle

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

pages navigation static tree meta blog blogging site