Compatible with DokuWiki
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.
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
In your template, replace the current tpl_youarehere invocation with
<?php $croissant =& plugin_load('syntax', 'croissant'); if ($croissant !== null) { $croissant->tpl(); } else { tpl_youarehere(); } ?>
On a wiki page, write ~~bc:CUSTOMTITLE~~.
Thanks, just what I was looking for! Any way to get this working correctly on Rincewind (and possibly the upcoming release)? — Eivind M.Eivind M.
molefunk
Mayapur, India 2011/11/04 16:26
Works fine here. How does it misbehave? — Adrian LangAdrian Lang
adrianlang
Berlin 2011/11/06 11:27
Sorry, I forgot to subscribe and check back. I was actually on a newer Git version, but on the new RC (clean install) I get the same error:
Warning: Missing argument 3 for resolve_pageid(), called in /dokuwiki-rc/lib/plugins/croissant/syntax.php on line 68 and defined in /dokuwiki-rc/inc/pageutils.php on line 443