Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/donquixote/drupal-crumbs
Mirror of the "Crumbs" Drupal module for breadcrumb-building.
https://github.com/donquixote/drupal-crumbs
Last synced: 7 days ago
JSON representation
Mirror of the "Crumbs" Drupal module for breadcrumb-building.
- Host: GitHub
- URL: https://github.com/donquixote/drupal-crumbs
- Owner: donquixote
- Created: 2013-08-12T16:52:52.000Z (over 11 years ago)
- Default Branch: 7.x-2.x
- Last Pushed: 2015-07-08T09:20:52.000Z (over 9 years ago)
- Last Synced: 2023-03-10T21:12:59.034Z (over 1 year ago)
- Language: PHP
- Homepage: http://drupal.org/project/crumbs
- Size: 1.27 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
This text is horribly out of date, especially for the 2.x branch ...
The ultimate breadcrumbs solution. Powerful, flexible, and as simple and DRY as can be.
(code will come soon)Breadcrumbs based on:
- menus
- taxonomy
- system path fragments
- existing path alias fragments
- not yet existent pathauto alias fragments
- organic groups
- forum pathsFeatures:
- easy to extend.
- admin form to rearrange rules. no further configuration needed.
- guaranteed consistency: If d's breadcrumb is "a > b > c > d", then d's breadcrumb is "a > b > c".
- infinite loop prevention.Requirements:
- PHP 5.2How it works:
A plugin is an object that takes a path and returns a parent path.
If the rule returns NULL, the next rule is tried.This process is repeated with the parent path, until either
- no further parent can be found.
- the returned path is the frontpage.
- the path is its own parent path.
- there is a loop consisting of more than one path.In addition, every rule object has a chance to set a different title for a breadcrumb item (default is obtained from core menu system), or to let the item be skipped in the trail.