plugin:hidden
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:hidden [2018-03-12 15:55] – Fix typo gturri | plugin:hidden [2023-11-07 14:00] (current) – Update to version 2023-11-07 78.196.188.242 | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : guillaume.turri@gmail.com | email : guillaume.turri@gmail.com | ||
type : Syntax | type : Syntax | ||
- | lastupdate : 2017-07-18 | + | lastupdate : 2023-11-07 |
- | compatible : 2009-12-25, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, | + | compatible : Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, |
depends | depends | ||
conflicts | conflicts | ||
Line 16: | Line 16: | ||
bugtracker : https:// | bugtracker : https:// | ||
sourcerepo : https:// | sourcerepo : https:// | ||
- | donationurl: | + | donationurl: |
---- | ---- | ||
- | If you use a version | + | :!: **I'm looking for a new maintainer!** |
+ | |||
+ | If you' | ||
+ | |||
+ | If you're interested in maintaining this plugin, just send me an email (adress available in the commit log) and I'll make sure to give all the information you will need. | ||
===== Description ===== | ===== Description ===== | ||
+ | |||
If you ever wonder " | If you ever wonder " | ||
+ | |||
<hidden click here if you want to know more> | <hidden click here if you want to know more> | ||
+ | |||
and the complicated explanation won't clutter up the page, but will still be readable. | and the complicated explanation won't clutter up the page, but will still be readable. | ||
Line 30: | Line 37: | ||
To avoid annoying readers we could have: | To avoid annoying readers we could have: | ||
- | {{http://guigui.webou.net/gestion_projet/hidden/onHidden5.png}} | + | {{https://trello.com/ |
But an interested reader may click and get: | But an interested reader may click and get: | ||
- | {{http://guigui.webou.net/gestion_projet/hidden/onVisible5.png?}} | + | {{https://trello.com/ |
===== How to use it ===== | ===== How to use it ===== | ||
+ | |||
The simplest way is: | The simplest way is: | ||
+ | |||
< | < | ||
+ | |||
This will display the default text "Click to display ⇲" when the text is hidden, and "Click to hide ⇱" when it's visible. | This will display the default text "Click to display ⇲" when the text is hidden, and "Click to hide ⇱" when it's visible. | ||
- | Some options may be added inside the opening < | + | Some options may be added inside the opening |
^ Option | ^ Option | ||
- | |any text|use this text instead of the defaults "Click to display" | + | |any text |use this text instead of the defaults "Click to display" |
- | |onHidden=" | + | |%%onHidden=" |
- | |onVisible=" | + | |%%onVisible=" |
- | |onExportPdf=" | + | |%%onExportPdf=" |
- | |initialState=" | + | |%%initialState=" |
- | |-noprint|the text "click to display" | + | |%%-noprint%% |
- | |-edit=" | + | |%%-edit=" |
- | |-edit|Same as above, but a default text is used| | | + | |%%-edit%% |
- | Please note that Dokuwiki | + | Please note that DokuWiki |
+ | |||
+ | ===== Hidden Switch ===== | ||
- | =====Hidden Switch===== | ||
It's possible to add a button that will hide/ | It's possible to add a button that will hide/ | ||
+ | |||
< | < | ||
or | or | ||
+ | |||
< | < | ||
- | |||
Therefore, to see it in action, you could create such a page: | Therefore, to see it in action, you could create such a page: | ||
Line 73: | Line 85: | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | You may download this [[https:// | + | Search and install the plugin using the [[plugin: |
- | + | ||
- | You may also use the plugin manager, using this URL: https:// | + | |
===== Some (important) points ===== | ===== Some (important) points ===== | ||
Line 81: | Line 91: | ||
* If the reader disabled JavaScript, this plugin won't work. More precisely, the full text will be displayed at once. Anyway, it shouldn' | * If the reader disabled JavaScript, this plugin won't work. More precisely, the full text will be displayed at once. Anyway, it shouldn' | ||
* If you just installed this plugin and if it doesn' | * If you just installed this plugin and if it doesn' | ||
- | * To use an image in the header, you should use < | + | * To use an image in the header, you should use '' |
* You should avoid to use header inside a hidden section, because there is currently a [[https:// | * You should avoid to use header inside a hidden section, because there is currently a [[https:// | ||
* If, after refreshing the cache, the hidden plugin still doesn' | * If, after refreshing the cache, the hidden plugin still doesn' | ||
- | * The default texts (" | + | * The default texts (" |
===== Reporting a bug ===== | ===== Reporting a bug ===== | ||
Line 99: | Line 109: | ||
* Deactivate all your other plugins | * Deactivate all your other plugins | ||
* Switch to the default template | * Switch to the default template | ||
- | * Empty the cache of Dokuwiki | + | * Empty the cache of DokuWiki |
* Check if it still doesn' | * Check if it still doesn' | ||
* If it's the case, please report it on the bugtracker | * If it's the case, please report it on the bugtracker | ||
Line 107: | Line 117: | ||
{{rss> | {{rss> | ||
+ | |||
+ | ===== Charityware ===== | ||
+ | |||
+ | This plugin is provided as a [[wp> | ||
+ | |||
+ | ==== To who ==== | ||
+ | |||
+ | The preference goes to the [[https:// | ||
+ | |||
+ | If it isn't possible, any association acting for the environment would do the trick. | ||
+ | |||
+ | ==== How ==== | ||
+ | |||
+ | Forwarding me (address available at the top of the page) the confirmation email you send or receive will ensure your kind gesture will motivate me to continue developing this software. | ||
+ | |||
+ | ==== I can't give money ==== | ||
+ | |||
+ | Making sure you have a positive impact would already be awesome: | ||
+ | * Volunteer to an NGO near you. Give some of your time | ||
+ | * Ride you bike instead of taking your car | ||
+ | * Buy local organic food | ||
+ | * Use a reusable bag and stop using plastic straws | ||
+ | * Plant trees | ||
+ | * Take only what you need, not what you can | ||
plugin/hidden.1520866547.txt.gz · Last modified: 2018-03-12 15:55 by gturri