croissant Plugin

Compatible with DokuWiki

  • 2012-01-25 "Angua" unknown
  • 2011-05-25 "Rincewind" unknown
  • 2010-11-07 "Anteater" yes

plugin Change the displayed text in the breadcrumb path

Last updated on
2011-09-29
Provides
Syntax
Repository
Source

Tagged with breadcrumb

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

A CosmoCode Plugin

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.

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~~.

Change Log

Discussion

Doesn't work on Rincewind

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
plugin/croissant.txt · Last modified: 2012/02/09 14:01 by 91.64.98.161
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate