taxdropnomy
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
Taxdropnomy (named as an awful combination of "Taxo + Drag'n'drop + nomy"
(please don't ask me what was I thinking...)
enables drag'n'drop functionality in updating node fields of type taxonomy term reference.
On its first version, it works only for node (no other entities) and classic taxonomy term reference fields (not the general entity reference)
1) Give the permission to a role (it works but it needs a little more work, to combine with node editing permissions)
2) Go to /taxdropnomy/node2term
3) In the first dropdown list, you see all your node types. Pick one.
AJAX loads a second dropdown list with all the taxonomy-term-reference fields of that node type. Also, all nodes of this node type are listed below.
4) In the second dropdown list, pick the field you wish to update (e.g. tags)
AJAX loads all available terms. (Possible future feature: add new term button)
Now you have a list (on the left) with all node titles of the node type you chose,
and another list (on the right) with the available terms for the field you chose.
Left list is draggable, right list is droppable: Pick a node, drag it and drop in on a term. The node gets saved with the new updated value in the field.
On "more options" you can choose:
1) Save new node on current revision, or on a new one?
2) If the field you chose can receive multiple values, you can choose here whether your new value will be appended in the end, or it will delete all others and be added.
E.g. you choose "Article" and "Tags" (pretty default for a fresh Drupal 7 installation)
If you select more options > multiple values > append, each tag(term) that you drop the node on, will be added.
But if you select more options > multiple values > replace, when you drop the node to a tag(term) all the other tags will be removed and this one will stay.
This is my first module, my first commit.
It is a sandbox project. DO NOT USE ON PRODUCTION.
I hope you enjoy it! (At least, I did enjoy implementing it!)
