Table of Contents
hiddenSwitch Plugin
Compatible with DokuWiki
Angua, Binky, ponder stibbons
This extension is marked as obsoleted. Therefore it is hidden in the Extension Manager and the extension listing. Furthermore, it is candidate for removal.
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Deprecated: this plugin has been merged with the hidden plugin. In practice it means that if you have a hidden plugin v >= 2015-08-12, then you can delete this hiddenSwitch plugin, and all your pages will still work the same.
—
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: https://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
- Merge pull request #3 from splitbrain-forks/php7-signature (2016-01-23 00:02)
- Adjust method signatures to match parent (2016-01-22 17:34)
- Fixed date (2014-07-27 20:37)
- Fixed date (2014-05-28 16:25)
- Merge pull request #2 from hh-lohmann/master (2014-03-07 07:46)
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