Loading...
 
Skip to main content

History: PluginAccordion

Source of version: 4 (current)

Copy to clipboard
            ! Plugin Accordion
This [https://tiki.org|Tiki] plugin allows users to place some content of a ((Using Wiki Pages|Wiki Page)) in a block that allow to toggle between visible or hidden content using an accordion.

It was added in ((Tiki25|Tiki 25))
https://gitlab.com/tikiwiki/tiki/-/merge_requests/1516
!! Parameters
{pluginmanager plugin="accordion"}

!! Sample code
{CODE()}
{ACCORDION(headers="Item 1|Item 2|Item 3")}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam pharetra placerat consectetur. Nulla semper neque vitae odio euismod eleifend. Sed interdum aliquet commodo.
/////
Quisque non maximus enim, id scelerisque lectus. Aenean euismod, risus vel fringilla ullamcorper, nisi orci fermentum quam, vel rutrum diam est vel ligula.
/////
Sed placerat enim sed porta volutpat. Sed dolor felis, placerat sed vulputate vel, placerat at justo. Aliquam condimentum finibus velit id pulvinar.
{ACCORDION}
{CODE}

Will produce:
{ACCORDION(headers="Item 1|Item 2|Item 3")}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam pharetra placerat consectetur. Nulla semper neque vitae odio euismod eleifend. Sed interdum aliquet commodo.
/////
Quisque non maximus enim, id scelerisque lectus. Aenean euismod, risus vel fringilla ullamcorper, nisi orci fermentum quam, vel rutrum diam est vel ligula.
/////
Sed placerat enim sed porta volutpat. Sed dolor felis, placerat sed vulputate vel, placerat at justo. Aliquam condimentum finibus velit id pulvinar.
{ACCORDION}
        

History

Advanced
Information Version
Baraka Kinywa 4
Bernard Sfez / Tiki Specialist 3
Bernard Sfez / Tiki Specialist Improving the documentation of the accordion plugin 2
Marc Laporte 1