Download the PHP package confluxgroup/craft-relationshipeditor without Composer
On this page you can find all versions of the php package confluxgroup/craft-relationshipeditor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download confluxgroup/craft-relationshipeditor
More information about confluxgroup/craft-relationshipeditor
Files in confluxgroup/craft-relationshipeditor
Package craft-relationshipeditor
Short Description Allows element relationships to be modified from the front-end without re-submitting all selections.
License MIT
Informations about the package craft-relationshipeditor
Relationship Editor plugin for Craft CMS 3.x
Allows element relationships to be modified from the front-end without re-submitting all selections.
Relationship Editor works with Entries, Users, Categories and Assets.
Requirements
This plugin requires Craft CMS 3.0.0 or later.
Installation
To install Relationship Editor, 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 confluxgroup/craft-relationshipeditor
- Install the plugin via
./craft install/plugin relationshipeditor
via the CLI, or in the Control Panel, go to Settings → Plugins and click the “Install” button for Relationship Editor.
You can also install Relationship Editor via the Plugin Store in the Craft Control Panel.
Relationship Editor Overview
Craft CMS has powerful features to create and edit entries via frontend templates. However, editing element reltionship fields such as Entries, Users, Categories, and Assets fields can be tricky, since they will only save the related elements submitted in the request, so your frontend templates need to resubmit all of the previously-selected elements, making for more complicated frontend templates.
Relationship Editor provides a new action specifically for adding and removing elements from an element relationship field without having to resubmit all of the existing selections.
You can use Relationship Editor to allow users to create wishlists, or other collections of elements quickly and easily in your frontend templates. The plugin respects the same editing permissions as Craft's native front end entry forms.
Using Relationship Editor
Using Relationship Editor is simple. Just build a simple form in your Twig template.
The elementId
and fieldHandle
fields are required as well as either addIds
or removeIds
which can be either a single field with a single element ID, or an array of multiple IDs.
Brought to you by Conflux Group, Inc.