leeroy / craft-draft-sharer
Plugin to add a link in the CP to share an entry draft
Installs: 52
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Roff
Type:craft-plugin
Requires
- php: ^8.0
- craftcms/cms: ^3.0|^4.0
Requires (Dev)
- codeception/codeception: ^4.0
- craftcms/rector: dev-main
- vlucas/phpdotenv: ^3.0
README
Plugin to add a link in the CP to share an entry draft
Requirements
This plugin requires Craft CMS 3.0.0-beta.23 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require leeroy/craft-draft-sharer
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Draft sharer.
Draft sharer Overview
When you create a draft, a button to generate a share link will appear to the right below the changes note box.
Configuring Draft sharer
The sharing link will be usable for 24 hours, but you can change it in the plugin settings.
Draft sharer Roadmap
Some things to do, and ideas for potential features:
- Add a permission to access the "Share your draft" feature
- Exclude list of sections by handle
- Make some unit test
Brought to you by Leeroy agency