Table of Contents
croissant Plugin
Compatible with DokuWiki
anteater, rincewind, angua, adora belle, weatherwax, binky, ponder stibbons, hrun
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
The plugin allows you to change the displayed text of a page in the breadcrumb path.
Why? Sometimes the main headline is too long, with this plugin you can create nice breadcrumbs and have “meaningful” H1 headlines.
Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Examples/Usage
In your template, replace the current tpl_youarehere invocation with
<?php $croissant =& plugin_load('syntax', 'croissant'); if ($croissant !== null) { $croissant->tpl(); } else { tpl_youarehere(); } ?>
Syntax
On a wiki page, write ~~bc:CUSTOMTITLE~~
to show CUSTOMTITLE
on the breadcrumb instead this page's title/pagename.
Additionally you can write ~~nobc~~
to not show the breadcrumbs on that page.
Development
Change Log
- Version upped (2016-09-07 15:49)
- Remove outdated code (2016-09-07 15:48)
- Add capsuling <span> to enable better styling (2016-09-07 15:46)
- Add syntax to not show breadcrumbs on page (2016-09-07 15:45)
- Version upped (2016-07-21 09:13)
- Version upped (2016-07-06 21:06)
- Version upped (2016-02-03 18:37)
- Merge pull request #2 from splitbrain-forks/php7-signature (2016-02-02 13:11)