Moodle plugins directory: Collapsible regions | Moodle.org
Collapsible regions
Filters ::: filter_collapsible
Maintained by Jan Eberhardt
Easy way to create collapsible regions within descriptions and text for Moodle.
Latest release:
164 sites
24 downloads
24 fans
Current versions available: 1
Easy way to create collapsible regions within descriptions and text for Moodle.
Usage
To start or end a collapsible region use the keyword '{collapsible}'. If the starting tag is followed by squared brackets the text within these brackets is shown instead of a general "Click-to-expand"-message.
Example
For instance
{collapsible}[read more...] Your text/HTML here. {collapsible}
will result in following structure:
Please see the screenshots for a more visual example.
Useful links
Contributors
Jan Eberhardt (Lead maintainer)
Please login to view contributors details and/or to contact them
You are cleared to land, welcome to the Plugins directory!
Because of that I hesitate to do these changes.
thanks for programming the filter
Unfortunately it seems not to work under Moodle 3.1.2. The collapsible regions do appear, but I can´t change the title from "Zum Erweitern oder Zusammenfassen klicken" to something else.
If I write:
"{collapsible}[Neuer Titel] blablablablablablablablablablabla {collapsible}"
I will get:
"Zum Erweitern oder Zusammenfassen klicken" > |Title
[Neuer Titel] blablablablablablablablablablabla |Text
Am I doing something wrong or does it simply not work with my moodle version ?
{collapsible}[anzeigen]
Wenn Ladung sich bewegt also "auf kollektiver Reise" ist, dann sprechen wir von elektrischem Strom. Eine Strömung von Elektronen also.
{collapsible}
results in the button "anzeigen" and only showing the word "Wenn"
If I copy the example code you provided the html text which should be revealed does not show.
May be the plugin need changes for v3 and above
Would be great to have this plugin available.
Jan, You rock!