robertvanlienden / silverstripe-elemental-advanced-edit
Elemental advanced edit module
Installs: 325
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 1
Open Issues: 0
Type:silverstripe-vendormodule
Requires
- php: >=7.2.0
- dnadesign/silverstripe-elemental: ^4.7
- silverstripe/admin: ^1.7@stable
- silverstripe/cms: ^4.8@stable
- silverstripe/vendor-plugin: ^1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.19
- phpstan/phpstan: ^0.11
- symbiote/silverstripe-phpstan: ^4.0
This package is auto-updated.
Last update: 2024-10-18 16:40:03 UTC
README
A simple extension that adds the a CMS Edit link to an element that is inline-editable.
Created as work-around to use inline editting on a element that has "complex fields" that are not avalable in inline editing (such as DisplayLogic/GridFields/etc.).
More info about the idea of an "advanced editing" menu for elemental; silverstripe/silverstripe-elemental#757
Screenshot
TO-DO
- Add an variable (
private static $hide_inline = [];
) to hide specific fields on inline edit- This to hide "complex fields" and made them only available in the advanced editing
Requirements
- SilverStripe ^4.8
- dnadesign/silverstripe-elemental ^4.7
Installation
composer require robertvanlienden/silverstripe-elemental-advanced-edit
Configuration
By default, advanced editing is turned on.
You can add the following variable to a element to turn advanced editing off:
private static $advanced_editing = false;
The advanced edit link will only get rendered when inline editing.
License
See License
Maintainers
Development and contribution
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Donations
If you want to buy me a coffee to thank me for sharing this piece of software, it's possible to donate Paypal.me/robertvanlienden.