DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:hidden

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:hidden [2022-02-02 00:02] – [Charityware] Aleksandrplugin: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 : 2019-03-31 +lastupdate : 2023-11-07 
-compatible : 2009-12-25, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, ponder stibbons, Hrun, Detritus, Frusterick Manners, 2016-06-262017-02-19GreeboHogfather+compatible : Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, GreeboHogfatherIgorJack Jackrum
 depends    :  depends    : 
 conflicts  : infomail conflicts  : infomail
Line 19: Line 19:
 ---- ----
  
-I'm looking for a new maintainer!+:!: **I'm looking for a new maintainer!**
  
-If you're a user of this plugin, don't worry: I'm still keeping an eye on it, and I'll try to make sure it keeps working fine with future versions of Dokuwiki. But my time is now dedicated to other projects so I will likely not add other features.+If you're a user of this plugin, don't worry: I'm still keeping an eye on it, and I'll try to make sure it keeps working fine with future versions of DokuWiki. But my time is now dedicated to other projects so I will likely not add other features.
  
 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. 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.
Line 37: 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/1/cards/6453f72c6c34d0d5947010be/attachments/6453f78432476f6e8400c4c2/download/dokuwiki-plugin-hidden_onHidden.png?recache|onHidden}}
  
 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/1/cards/6453f72c6c34d0d5947010be/attachments/6453f786fc6b57ff2fd50408/download/dokuwiki-plugin-hidden_onVisible.png?recache|onVisible}}
  
 ===== How to use it ===== ===== How to use it =====
Line 62: Line 62:
 |%%-edit%%  |Same as above, but a default text is used  | | |%%-edit%%  |Same as above, but a default text is used  | |
  
-Please note that Dokuwiki formatting syntax may be used with options like "onHidden".+Please note that DokuWiki formatting syntax may be used with options like "onHidden".
  
 ===== Hidden Switch ===== ===== Hidden Switch =====
Line 91: 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't be a problem since quite everyone enables JavaScript.   * If the reader disabled JavaScript, this plugin won't work. More precisely, the full text will be displayed at once. Anyway, it shouldn't be a problem since quite everyone enables JavaScript.
   * If you just installed this plugin and if it doesn't seem to work, try to empty the cache of your browser and the [[devel:caching|cache of dokuwiki]].   * If you just installed this plugin and if it doesn't seem to work, try to empty the cache of your browser and the [[devel:caching|cache of dokuwiki]].
-  * To use an image in the header, you should use <nowiki><hidden click here {{image.gif?nolinking}}></nowiki> (see [[:images]] for more details).+  * To use an image in the header, you should use ''<nowiki><hidden click here {{image.gif?nolinking}}></nowiki>'' (see [[:images]] for more details).
   * You should avoid to use header inside a hidden section, because there is currently a [[https://github.com/gturri/hidden/issues/1|bug]] with this case   * You should avoid to use header inside a hidden section, because there is currently a [[https://github.com/gturri/hidden/issues/1|bug]] with this case
   * If, after refreshing the cache, the hidden plugin still doesn't work and shows three lines containing the 'click here' text, it may be because another plugin or template is breaking the javascript. You should try to switch back to the default template, deactivate all your other plugins, and re-empty your caches. Then reactivate them one by one until it breaks again, to find the guilty plugin.   * If, after refreshing the cache, the hidden plugin still doesn't work and shows three lines containing the 'click here' text, it may be because another plugin or template is breaking the javascript. You should try to switch back to the default template, deactivate all your other plugins, and re-empty your caches. Then reactivate them one by one until it breaks again, to find the guilty plugin.
-  * The default texts ("Click to display" and "Click to hide") can be changed through Dokuwiki admin page, even though the default values for those settings might look weird. +  * The default texts ("Click to display" and "Click to hide") can be changed through DokuWiki admin page, even though the default values for those settings might look weird. 
  
 ===== Reporting a bug ===== ===== Reporting a bug =====
Line 109: 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 and the cache of your browser+  * Empty the cache of DokuWiki and the cache of your browser
   * Check if it still doesn't work.    * Check if it still doesn't work. 
     * If it's the case, please report it on the bugtracker     * If it's the case, please report it on the bugtracker
Line 122: Line 122:
 This plugin is provided as a [[wp>Charityware]]. It can be downloaded and installed at no charge. If you found it useful and would like to support its development, you may make a donation to a non-profit charitable organization. This plugin is provided as a [[wp>Charityware]]. It can be downloaded and installed at no charge. If you found it useful and would like to support its development, you may make a donation to a non-profit charitable organization.
  
-====To who====+==== To who ====
  
 The preference goes to the [[https://support.worldwildlife.org/site/SPageServer?pagename=main_onetime|World Wildlife Fund]] (WWF) because the are both protecting biodiversity and fighting climate change effectively. The preference goes to the [[https://support.worldwildlife.org/site/SPageServer?pagename=main_onetime|World Wildlife Fund]] (WWF) because the are both protecting biodiversity and fighting climate change effectively.
Line 128: Line 128:
 If it isn't possible, any association acting for the environment would do the trick. If it isn't possible, any association acting for the environment would do the trick.
  
-====How====+==== 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. 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 ====
  
-====I can't give money==== 
 Making sure you have a positive impact would already be awesome: Making sure you have a positive impact would already be awesome:
   * Volunteer to an NGO near you. Give some of your time   * Volunteer to an NGO near you. Give some of your time
plugin/hidden.1643756551.txt.gz · Last modified: 2022-02-02 00:02 by Aleksandr

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