2017 © Pedro Peláez
 

silverstripe-vendormodule silverstripe-custommenus

A Silverstripe module allowing you to create custom menus that can be gernated in the front end of your site.

image

i-lateral/silverstripe-custommenus

A Silverstripe module allowing you to create custom menus that can be gernated in the front end of your site.

  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 12 Forks
  • 0 Open issues
  • 12 Versions
  • 9 % Grown

The README.md

Custom Menus

Developer

Developed and maintained by i-lateral, (*1)

Requirements

SilverStripe 3.3 or greater., (*2)

Installation Instructions

Downloading the module:, (*3)

  1. Download and add the module to the "custommenus" folder in your SilverStripe root folder, (*4)

  2. Run dev/build?flush=all, (*5)

  3. Visit admin/menus/ to setup your custom menus, (*6)

  4. In you template, use: , (*7)

You can also download and install this module using composer and packagist, (*8)

Usage

Once the module is downloaded and installed, you can create menus and add pages to them using the "Menus" page in the admin interfacve., (*9)

To render these menus in your templates, you can either:, (*10)

Add $RenderCustomMenu(menu-slug) to your template code. This will make use of the CustomMenu.ss include to render a UL (with a unique class name)., (*11)

Alternativley you can generate your own template by adding the following code:, (*12)

<% if $CustomMenu(main-menu) %><ul class="menu">
    <% loop $CustomMenu(main-menu) %>
        <li class="$LinkingMode $FirstLast">
            <a href="$Link">$MenuTitle</a>
        </li>
    <% end_loop %>
</ul><% end_if %>

The Versions

14/02 2018

2.x-dev

2.9999999.9999999.9999999-dev http://github.com/i-lateral/silverstripe-custommenus

A Silverstripe module allowing you to create custom menus that can be gernated in the front end of your site.

  Sources   Download

BSD-3-Clause

The Requires

 

navigation silverstripe menus nav

14/02 2018

2.1.1

2.1.1.0 http://github.com/i-lateral/silverstripe-custommenus

A Silverstripe module allowing you to create custom menus that can be gernated in the front end of your site.

  Sources   Download

BSD-3-Clause

The Requires

 

navigation silverstripe menus nav

14/02 2018

2.1.0

2.1.0.0 http://github.com/i-lateral/silverstripe-custommenus

A Silverstripe module allowing you to create custom menus that can be gernated in the front end of your site.

  Sources   Download

BSD-3-Clause

The Requires

 

navigation silverstripe menus nav

14/02 2018

1.x-dev

1.9999999.9999999.9999999-dev http://github.com/i-lateral/silverstripe-custommenus

A Silverstripe module allowing you to create custom menus that can be gernated in the front end of your site.

  Sources   Download

BSD-3-Clause

The Requires

 

navigation silverstripe menus nav

14/02 2018

1.3.1

1.3.1.0 http://github.com/i-lateral/silverstripe-custommenus

A Silverstripe module allowing you to create custom menus that can be gernated in the front end of your site.

  Sources   Download

BSD-3-Clause

The Requires

 

navigation silverstripe menus nav

22/01 2018

1.3.0

1.3.0.0 http://github.com/i-lateral/silverstripe-custommenus

A Silverstripe module allowing you to create custom menus that can be gernated in the front end of your site.

  Sources   Download

BSD-3-Clause

The Requires

 

navigation silverstripe menus nav

22/01 2018

dev-master

9999999-dev http://github.com/i-lateral/silverstripe-custommenus

A Silverstripe module allowing you to create custom menus that can be gernated in the front end of your site.

  Sources   Download

BSD-3-Clause

The Requires

 

navigation silverstripe menus nav

19/01 2018

2.0.0

2.0.0.0 http://github.com/i-lateral/silverstripe-custommenus

A Silverstripe module allowing you to create custom menus that can be gernated in the front end of your site.

  Sources   Download

BSD-3-Clause

The Requires

 

navigation silverstripe menus nav

19/01 2018

1.2.0

1.2.0.0 http://github.com/i-lateral/silverstripe-custommenus

A Silverstripe module allowing you to create custom menus that can be gernated in the front end of your site.

  Sources   Download

BSD-3-Clause

The Requires

 

navigation silverstripe menus nav

07/06 2016

1.1.0

1.1.0.0 http://github.com/i-lateral/silverstripe-custommenus

A Silverstripe module allowing you to create custom menus that can be gernated in the front end of your site.

  Sources   Download

BSD-3-Clause

The Requires

 

navigation silverstripe menus nav

23/01 2015

1.0.0

1.0.0.0 http://github.com/i-lateral/silverstripe-custommenus

A Silverstripe module allowing you to create custom menus that can be gernated in the front end of your site.

  Sources   Download

BSD-3-Clause

The Requires

 

navigation silverstripe menus nav

12/11 2013

dev-SS-3.0.x

dev-SS-3.0.x http://github.com/i-lateral/silverstripe-custommenus

A Silverstripe module allowing you to create custom menus that can be gernated in the front end of your site.

  Sources   Download

BSD-3-Clause

The Requires

 

navigation silverstripe menus nav