Module providing Datawrapper chart and map support
This module provides an iframe element to embed Datawrapper charts and maps on a page, along with the script to enable responsiveness.
See composer.json
composer require nswdpc/silverstripe-datawrapper
Further documentation for content authors is available.
Name: 'app-datawrapper'
After:
- '#nswdpc-datawrapper'
NSWDPC\Datawrapper\WebhookController:
webhooks_enabled: true|false
webhooks_random_code: 'a random unguessable code'
If you are using Datwrapper custom webhooks, add a webhooks_random_code
value.
As there is no shared webhook signing key, anyone with the webhook URL and the Datawrapper Id of an element on your website will be able to publish elements.
You can change this random code at any time but you must ensure the custom webhook URL value at Datawrapper is updated to match.
You can set elements to ignore webhook publishing requests by unchecking the "Auto publish" value on an element.
Datawrapper custom webhook URLs are Team-based. Only charts in that team will receive a webhook request when they are published.
We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.
Please review the code of conduct prior to opening a new issue.
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.
Please review the code of conduct prior to completing a pull request.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem