Loading...
 

Plugin Accordion

This Tiki plugin allows users to place some content of a Wiki Page in a block that allow to toggle between visible or hidden content using an accordion.

It was added in Tiki 25
https://gitlab.com/tikiwiki/tiki/-/merge_requests/1516

Parameters

Create content within collapsable items
Introduced in Tiki 25. Required parameters are in bold.
Go to the source code
Preferences required: wikiplugin_accordion

Parameters Accepted Values Description Default Since
(body of plugin) Content of the collapsible zones, separated by "/////"
headers text Pipe-separated list of header titles (with or without icon syntax). Example:{i name='users'} Item 1|Item 2|Item 3 25
headeractivebgcolor text Enter a valid CSS color hex code, or an RGBA value if setting opacity is desired; for example: #000 or rgba(00, 00, 00, 0.5). 25.0
headerbgcolor text Enter a valid CSS color hex code, or an RGBA value if setting opacity is desired; for example: #000 or rgba(00, 00, 00, 0.5). 25.0
headerbordercolor text Enter a valid CSS color hex code, or an RGBA value if setting opacity is desired; for example: #000 or rgba(00, 00, 00, 0.5). 25.0
headerborderwidth text To change the width of header border in pixels (1 by default). For example: 3 for 3 pixels. 1 25.0
headercontentcolor text Enter a valid CSS color hex code, or an RGBA value if setting opacity is desired; for example: #000 or rgba(00, 00, 00, 0.5). 25.0
headerfontsize text To set the size of the headers text in pixels. For example: 20 for 20 pixels. 16 25.0
panelbgcolor text Enter a valid CSS color hex code, or an RGBA value if setting opacity is desired; for example: #000 or rgba(00, 00, 00, 0.5). 25.0
panelbordercolor text Enter a valid CSS color hex code, or an RGBA value if setting opacity is desired; for example: #000 or rgba(00, 00, 00, 0.5). 25.0
panelborderwidth text To change the width of panel border in pixels (1 by default). For example: 3 for 3 pixels 1 25.0
panelcontentcolor text Enter a valid CSS color hex code, or an RGBA value if setting opacity is desired; for example: #000 or rgba(00, 00, 00, 0.5). 25.0
panelfontsize text To set the size of the panels text in pixels. For example: 20 for 20 pixels. 16 25.0
headerborderstyle (blank)| none| hidden| dotted| dashed| solid| double| groove| ridge| inset| outset Determine the kind of border to apply to the headers. none 25.0
headerfontstyle (blank)
normal
italic
oblique
Use to change the headers text style. normal 25.0
headerfontweight (blank)
normal
bold
bolder
lighter
900
Use to change the headers text weight. normal 25.0
panelborderstyle (blank)| none| hidden| dotted| dashed| solid| double| groove| ridge| inset| outset Determine the kind of border to apply to the panels. none 25.0
paneltextalignment (blank)
left
right
center
justify
To set the horizontal alignment of the panels text. left 25.0
panelfontstyle (blank)
normal
italic
oblique
Use to change the panels text style. normal 25.0
panelfontweight (blank)
normal
bold
bolder
lighter
900
Use to change the panels text weight. normal 25.0


Sample code

Copy to clipboard
{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}


Will produce:


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.

doc.tiki.org

Get Started

Admin Guide User Guide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Elements
Mobile Tiki and Voice Tiki
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Tiki Manager
Trackers
Transitions
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki