venveo / craft-bulkedit
Bulk edit Craft CMS element fields
Installs: 110 018
Dependents: 0
Suggesters: 0
Security: 0
Stars: 24
Watchers: 4
Forks: 6
Open Issues: 13
Type:craft-plugin
Requires
- php: ^8.2
- craftcms/cms: ^5.0
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
- craftcms/rector: dev-main
This package is auto-updated.
Last update: 2024-10-26 16:02:54 UTC
README
Overview
The Bulk Edit plugin adds an action to supported element index pages that allows you to edit fields on a large number of elements at once. Currently, the following element types are supported:
- Entries
- Categories
- Assets
- Users
- Craft Commerce Products
Additionally, some fields support different strategies for the edit process. At the moment, any field that works with "relations" (such as Entries, Categories, Assets, etc) supports the following strategies:
- Replace: Replaces all content in the field
- Merge: Merges the selected elements into the relation field
- Subtract: Removes the selected elements from the relation field
Instructions
- Navigate to a supported element index page and select any number of elements
- Click the gear at the top of the page and select "Bulk Edit"
- Enable the light-switches next to the fields you're interested in editing and select a strategy
- Click next and enter the content for the fields
- Once you click Save, a task will be dispatched to the queue, at which point you will need to refresh the page for Craft to pick it up. After the queue has finished, you may reload the page and see your changes.
Limitation & Issues
- Validation is not enforced when you're editing these fields, this means you can end up with elements with fields in potentially erroneous states (for example, removing all content on a required field)
- After the queue finishes running, make sure you refresh the page to see the updates in the element index
Steps to use:
Requirements
This plugin requires Craft CMS 4.0.0 or later. For legacy Craft 3 support, use version 2.x
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 venveo/craft-bulkedit
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Bulk Edit.
Brought to you by Venveo