dorsetdigital / silverstripe-element-faq
Adds a collapsible FAQ block
Installs: 69
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 2
Open Issues: 6
Type:silverstripe-vendormodule
Requires
- dnadesign/silverstripe-elemental: ^3.0 || ^4.0
- silverstripe/cms: ^4.0
- silverstripe/vendor-plugin: ^1.0
- symbiote/silverstripe-gridfieldextensions: ^3
- dev-master
- v2.0.0
- v1.0.0-beta.2
- v1.0.0-beta.1
- dev-dependabot/npm_and_yarn/json5-2.2.3
- dev-dependabot/npm_and_yarn/qs-6.5.3
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/minimatch-3.0.8
- dev-dependabot/npm_and_yarn/minimist-1.2.6
- dev-dependabot/npm_and_yarn/nanoid-3.2.0
This package is auto-updated.
Last update: 2024-12-07 15:08:17 UTC
README
Adds a collapsing FAQ block to a page
Requirements
- Silverstripe 4.x
- Silverstripe Elemental
Installation
- Install the code with
composer require dorsetdigital/silverstripe-element-faq
- Run a
dev/build?flush
to update your project
Usage
Once installed, the FAQ block will be selectable as an Elemental block.
The module provides minimal markup with some basic accessibility. Default CSS and Javascript is also included for the basic functionality (expand/collapse of questions).
If required the module can be instructed not to add the default CSS and Javascript by setting the following configuration variables in your site's XML:
DorsetDigital\Elements\FAQElement:
add_default_css: false
add_default_javascript: false