Creating an Accordion Module

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.

  1. Create a tag which will identify which content holders will be added to the accordion.
  2. 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.
  3. Apply the newly created tag to each content holder.
  4. Edit to page you wish the accordion to appear on.
  5. Add the following module code:
    {! accordion_by_tag;tag value !}
  6. Change ‘tag value’ in the module code to be the tag value setup for the accordion.
  7. Save the changes and review the page.

Can't find what your looking for?