DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:croissant

This is an old revision of the document!


croissant Plugin

Compatible with DokuWiki

anteater, rincewind, angua, adora belle, weatherwax, binky, ponder stibbons, hrun

plugin Change the displayed text in the breadcrumb path

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

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

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

[solved] 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. 2011/11/04 16:26

Works fine here. How does it misbehave? — Adrian Lang 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

The code fixed on 2013-02-20. So far in my installation, the croissant plugin has been working fine with Rincewind, Angua, and Adora Belle, Weatherwax. — s.sahara 2013-05-19

plugin/croissant.1418902484.txt.gz · Last modified: 2014-12-18 12:34 by grosse

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki