pikselin / silverstripe-admin-edit-link
Adds a link to the edit page in the CMS if you are logged in as administrator
Installs: 1 312
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Language:JavaScript
Type:silverstripe-vendormodule
Requires
- silverstripe/cms: ^4 || ^5
- silverstripe/framework: ^4 || ^5
This package is auto-updated.
Last update: 2024-11-26 00:25:01 UTC
README
Adds a link to the CMS edit page if logged in user has appropriate permissions. This works by detecting the meta[name="x-cms-edit-link"] header tag. This tiny module has no dependancies other than Silverstripe 4.
Installation
composer require Pikselin/silverstripe-admin-edit-link
CSS
The CSS for this is very basic and can be overridden:
.cms-edit-link {
position: absolute;
padding: 0.5rem;
bottom: 15px;
right: 15px;
background-color: #ffffff;
color: #002752;
}