2017 © Pedro Peláez
 

silverstripe-module menus

Custom menus module for SilverStripe.

image

plumpss/menus

Custom menus module for SilverStripe.

  • Tuesday, January 5, 2016
  • by plumpjames
  • Repository
  • 2 Watchers
  • 0 Stars
  • 193 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 4 Open issues
  • 6 Versions
  • 18 % Grown

The README.md

Custom menus module for Silverstripe

This module adds a Menus section to the SilverStripe admin panel that you can use to create any number of custom menus to use within your templates., (*1)

Menu items are links to pages, selected via a tree dropdown. By default, each item uses the page’s title as its MenuTitle but this can be overriden in the CMS., (*2)

Installation

composer require plumpss/menus, (*3)

Remember to rebuild your database with /dev/build?flush=all, (*4)

Usage

Each menu needs a slug (ID) that can then be used from the template. E.g. for a slug of 'footer':, (*5)

<% if CustomMenu(footer) %>
    <ul>
        <% loop CustomMenu(footer) %>
            <li><a href="$Link">$MenuTitle</a></li>
        <% end_loop %>
    </ul>
<% end_if %>

The Versions

05/01 2016

dev-master

9999999-dev

Custom menus module for SilverStripe.

  Sources   Download

MIT

The Requires

 

silverstripe menus

05/01 2016

0.2.0

0.2.0.0

Custom menus module for SilverStripe.

  Sources   Download

MIT

The Requires

 

silverstripe menus

25/02 2015

0.1.3

0.1.3.0

Custom menus module for SilverStripe.

  Sources   Download

MIT

The Requires

 

silverstripe menus

25/02 2015

0.1.2

0.1.2.0

Custom menus module for SilverStripe.

  Sources   Download

MIT

The Requires

 

silverstripe menus

24/02 2015

0.1.1

0.1.1.0

Custom menus module for SilverStripe.

  Sources   Download

MIT

The Requires

 

silverstripe menus

24/02 2015

0.1.0

0.1.0.0

Custom menus module for SilverStripe.

  Sources   Download