This module provides:
This module is under active development, pull requests are welcome.
Rather than taking our content editors to a new data entry screen for the purposes of adding a link to a record, the field allows a link to be added to the current record within the context of that record.
The link can be added using one of the provided fields:
The object of this module is to:
File
and/or SiteTree
relations when the parent record is published, via the Silverstripe ownership APIThis module supports inline editing in Elemental. The field will detect whether it has been loaded in an inline editable context and makes allowances for this.
Rather than create a React component for the field, we use the standard MutationObserver API to detect field changes in the administration area based on an HTML5 data attribute attached to the relevant fields.
A source file is provided in client/src/js/app.js for reference.
A future goal is to decouple the administration (entwine) event detection/handling and allow the field to be used outside the administration area.
See composer.json
The only supported way of installing this module is via composer
composer require nswdpc/silverstripe-inline-linker
None, yet
You can find the extensions used in config.yml.
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 have found a security issue with this module, please email digital[@]dpc.nsw.gov.au in the first instance, detailing your findings.
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