Skip to content

NZ-Digital/silverstripe-elemental-accordion

 
 

Repository files navigation

SilverStripe Elemental Accordion Block

A block that displays content in collapsable panels.

CI codecov

Latest Stable Version Total Downloads Latest Unstable Version License

Requirements

  • dnadesign/silverstripe-elemental: ^4.8
  • dynamic/silverstripe-elemental-baseobject: ^3.0
  • symbiote/silverstripe-gridfieldextensions: ^3.1

Installation

composer require dynamic/silverstripe-elemental-accordion

License

See License

Upgrading from version 2

Elemental Accordion drops sheadawson/silverstripe-linkable usage in favor of gorriecoe/silverstripe-linkfield. To avoid data loss, install the dynamic/silverstripe-link-migrator module as follows:

composer require dynamic/silverstripe-link-migrator

Then, run the task "Linkable to SilverStripe Link Migration" via /dev/tasks, or cli via:

vendor/bin/sake dev/tasks/LinkableMigrationTask

This will populate all of the new Link fields with data from the old class.

Usage

A block that allows you to create collapsible content blocks.

Template Notes

The default templates are based off the jQuery UI Accordion classes/styling

Screen Shots

Front End sample of an Accordion

Front End sample of an Accordion

CMS - Accordion Main Tab

Accordion Main Tab

CMS - Accordion Panel List

CMS - Accordion Panel List

CMS - Accordion Panel Edit

CMS - Accordion Panel Edit

Getting more elements

See Elemental modules by Dynamic

Configuration

See SilverStripe Elemental Configuration

Translations

The translations for this project are managed via Transifex and are updated automatically during the release process. To contribute, please head to the link above and get translating!

Maintainers

Bugtracker

Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.

If the issue does look like a new bug:

  • Create a new issue
  • Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
  • Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.

Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

About

Display content in collapsable panels

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 68.4%
  • JavaScript 21.9%
  • Scheme 9.7%