The accordion module creates a dynamic way of displaying a lot of content on a single page. Use the following steps to create one on a webpage.
- Create a tag which will identify which content holders will be added to the accordion.
- For each accordion section create a content holder. Add the content for each section within the content holder’s WYSIWYG. All functionality within the WYSIWYG is available within the accordion.
- Apply the newly created tag to each content holder.
- Edit to page you wish the accordion to appear on.
- Add the following module code:
{! accordion_by_tag;tag value !} - Change ‘tag value’ in the module code to be the tag value setup for the accordion.
- Save the changes and review the page.