2017 © Pedro Peláez
 

silverstripe-module breadcrumbnavigation

Self contained Breadcrum Navigation module, allowing you to control the breadcrumbs look and feel using templates, and add additional levels of bread crumbs for e.g. dataobjects.

image

exadium/breadcrumbnavigation

Self contained Breadcrum Navigation module, allowing you to control the breadcrumbs look and feel using templates, and add additional levels of bread crumbs for e.g. dataobjects.

  • Wednesday, March 2, 2016
  • by exadium
  • Repository
  • 2 Watchers
  • 2 Stars
  • 2,205 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 4 Forks
  • 2 Open issues
  • 3 Versions
  • 6 % Grown

The README.md

Breadcrumb Navigation SilverStripe 4.0

Build Status Scrutinizer Code Quality Build Status CircleCI, (*1)

codecov.io, (*2)

Latest Stable Version Latest Unstable Version Total Downloads License Monthly Downloads Daily Downloads composer.lock, (*3)

GitHub Code Size GitHub Repo Size GitHub Last Commit GitHub Activity GitHub Issues, (*4)

codecov.io, (*5)

Maintainers

  • Marijn Kampf (Nickname: marijnkampf) , (*6)

    http://www.exadium.com/tools/silverstripe/modules/breadcrumb-navigation/, (*7)

    Sponsored by Exadium Web Development, (*8)

Introduction

Self contained Breadcrum Navigation module, allowing you to control breadcrumbs using templates, rather than from code., (*9)

Requirements

  • SilverStripe Trunk SilverStripe 4.0

For SS 3 version see https://github.com/marijnkampf/Silverstripe-Module-BreadcrumbNavigation/tree/SS3, (*10)

For SS 2.4 version see https://github.com/marijnkampf/Silverstripe-Module-BreadcrumbNavigation/tree/2.4, (*11)

Install and setup

  • BreadcrumbNavigation should be in your sites root folder.
  • Set options in your mysite/_config/breadcrumbs.yml
---
Name: my-breadcrumbs-settings
After:
  - exadium-breadcrumbs-settings
---

#Override values here
Exadium\BreadcrumbNavigation\BreadcrumbNavigation:
  includeHome: false
  includeSelf: true
  maxDepth: 10
  stopAtPageType: false
  showHidden: false
  homeURLSegment: home

  • In your template include either: or

Advanced use

If you would like to add additional items to the Breadcrumb trail (e.g. for URL parameter actions) you can use AddBreadcrumbAfter($object) and AddBreadcrumbBefore($object) functions. You only need to define the attributes you use in your templates. These are Link and MenuTitle for the supplied templates. Define isSelf if you are not linking the current page., (*12)

    $do = new DataObject();
    $do->Link = $this->Link() . "show";
    $do->MenuTitle = "Menu title";
    $do->isSelf = true;
    $this->AddBreadcrumbAfter($do);

The Versions

02/03 2016

dev-master

9999999-dev

Self contained Breadcrum Navigation module, allowing you to control the breadcrumbs look and feel using templates, and add additional levels of bread crumbs for e.g. dataobjects.

  Sources   Download

The Requires

 

module breadcrumb navigation silverstripe bread crumb navigation bread crumbs

09/09 2013

2.4.x-dev

2.4.9999999.9999999-dev

Self contained Breadcrum Navigation module, allowing you to control the breadcrumbs look and feel using templates, and add additional levels of bread crumbs for e.g. dataobjects.

  Sources   Download

The Requires

 

module breadcrumb navigation silverstripe bread crumb navigation bread crumbs

18/07 2013

v1.0

1.0.0.0

Self contained Breadcrum Navigation module, allowing you to control the breadcrumbs look and feel using templates, and add additional levels of bread crumbs for e.g. dataobjects.

  Sources   Download

The Requires

 

module breadcrumb navigation silverstripe bread crumb navigation bread crumbs