DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:hiddenswitch

This is an old revision of the document!


hiddenSwitch Plugin

Compatible with DokuWiki

Angua, Binky

plugin Made to work with the [[hidden]] plugin: let add buttons to (un)display several blocks

Last updated on
2011-11-01
Provides
Syntax
Repository
Source
Requires
hidden

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

Similar to folded, outliner

Tagged with collapsible, hide

If you use the hidden plugin, you may find it tedious to click on every hidden block to display them, for example before printing. Then this plugin is made for you!

Installation

Please use the plugin manager, using this URL: http://github.com/gturri/hiddenSwitch/zipball/master

Examples/Usage

To create such a switch, you may use :

<hiddenSwitch>

or

<hiddenSwitch Here comes my custom text>

Therefore, to see it in action, you could create such a page:

<hidden>My first hidden block</hidden>
<hidden>My second hidden block</hidden>

<hiddenSwitch>

Please make sure you have a recent (2011-12-03 or higher) version of the hidden plugin!

Change Log

Discussion

My improvement proposals:

  • merge hiddenswitch inside hidden plugin, why 2 plugins?
  • central default configuration: for example for texts
  • default images + and -
  • the hiddenswitch button in the hidden bar? The bar should have 2 buttons: the left-aligned display/hide button (as now) and the right-aligned display all/hide all button. Only an idea but I think is a good place where to put the hiddenSwitch button

Congratulations for the plugin, it's nice – Fabrizio

plugin/hiddenswitch.1394180498.txt.gz · Last modified: 2014-03-07 09:21 by hh lohmann