If you install this plugin manually (by copying the directory to the plugins directory) you need to clear DokuWikis cache in order to make this plugin working. Otherwise it won't fold/unfold correctly. To clear the cache open → modify any character → undo → save → close the file <YourDokuWikiRoot>/conf/local.php. This causes DokuWiki to rebuild it's cache. The previous is probably true for even more plugins, thus, a general important information.

Alternatively open the configuration page and save it.

To install the plugin manually:

download the source to your plugin folder, lib/plugins.

extract the downloaded files contents.

That should create a new folder lib/plugins/folded containing all the files required by the plugin.

Configuration

There are two configuration settings which can be used to override the folder link tooltips. These will be most useful for DokuWiki installations using a language not included with the plugin.

reveal — the title tooltip to be used by folding links when the folded content is hidden. If left empty the localised string will be used.

hide — the title tooltip to be used by folding links when the folded content is showing. If left empty the localised string will be used.

Localization

Please feel free to add the strings for your own language here and I will add them to the next release of the plugin. If your language isn't included at present, you can override the strings that are shown using the plugin's configuration settings as described above.

Nesting folding sections… can be use for tree display and maybe other stuff —- Stephane Chamberland 2006-01-09

When displaying search results, folded text needs to be displayed if it contains a search hit — Henry Olders 2006-04-08

Make HTML id easier to understand. (for example I can put a link here based on the name, but the folded plugin ids are #folded_n - and if I link to that the folded section is not unfolded. This would make it much easier to do things for FAQs & such, like we are using. See?

Have an “unfold all” option on the page, to allow browser text searches for pages like this.

Have “fold all” option as well

Would it be possible to use an image instead of text? the idea is to have a small image “help.png” to open a local explanation in a box. Thank you. Michel 2011-12-30