Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Similar to the node management page, I believe that terms should also be manageable. The patch:
- Adds select all/ checkbox support to the page.
- Adds an operations field similar to the node management page. Other modules can hook in (untested) etc.
- Uses a multi-step form instead of callbacks. This should enable more complex functionality by contrib modules.
- Currently only offers a mass delete option in core.
This was created and tested against 1.331 and merged with HEAD.
First time I'm playing with multi-step forms, and I'm sure that this can be improved.
Reviews welcome.
Cheers,
-K.
Further improvements required
- Allow to add a term before / after and below an existing term from the overview more simple
- Make parent terms collapsible for easier drag & drop in long lists
- ...
Comment | File | Size | Author |
---|---|---|---|
#8 | tax-multi-step_0.patch | 8.21 KB | Zen |
#7 | capitalise_0.patch | 2.49 KB | Zen |
#6 | tax-multi-step.patch | 8.21 KB | Zen |
#5 | taxonomy-management-5.patch | 11.11 KB | Zen |
#1 | taxonomy-management-4.patch | 8.06 KB | Zen |
Comments
Comment #1
Zen CreditAttribution: Zen commentedI don't know how the 'map arguments' field is supposed to be set.
Comment #2
m3avrck CreditAttribution: m3avrck commentedThis is a *really* great idea. I will review the patch later when I have some more time.
Comment #3
Stefan Nagtegaal CreditAttribution: Stefan Nagtegaal commented*subscribing* to test out later once HEAD is settled down a bit and the dust fell down..
Comment #4
Dries CreditAttribution: Dries commentedI think this is a good idea. Care to share some screenshots? :)
I'd love to see something for paths too.
Plus, I'd love other modules to be able to tap into these operation boxes and add some of their own. I think we need to take a step back, and come up with a system that provides that.
Comment #5
Zen CreditAttribution: Zen commentedYes, other modules can tap into this form. I've cleaned the patch up a little further and also added an example module as a demo of how other modules can hook into this. The screen looks just like the node manager screen.
In the interest of easy reviewing, I've created the patch against Drupal HEAD as of Jan 24 0000 UTC. Consequently, please checkout using the -D switch (something like -D "2007-1-24 05:30" [accounting for my zone offset]).
Thanks
-K
Comment #6
Zen CreditAttribution: Zen commentedSync with HEAD + some tidying up.
-K
Comment #7
Zen CreditAttribution: Zen commentedAnd here's the demo module.
Comment #8
Zen CreditAttribution: Zen commentedAnother Sync patch.
Comment #9
Stefan Nagtegaal CreditAttribution: Stefan Nagtegaal commentedZen care to share some screenshots?
Comment #10
keith.smith CreditAttribution: keith.smith commentedI like this patch a lot; however, portions of it no longer apply cleanly to HEAD.
# patch -p0 < tax-multi-step_0.patch
(Stripping trailing CRs from patch.)
patching file modules/taxonomy/taxonomy.module
Hunk #2 FAILED at 134.
1 out of 3 hunks FAILED -- saving rejects to file modules/taxonomy/taxonomy.module.rej
Comment #11
catchShould be re-assessed now this is available: http://drupal.org/project/taxonomy_manager
Comment #12
catchComment #13
Jody LynnClosed #305574: Add multiple delete to taxonomy terms page as a duplicate
Comment #14
yoroy CreditAttribution: yoroy commentedStill very desireable in that we want to be consistent in the tools available on listing pages.
Comment #15
xjmWe could build this as an administrative view in D8. Postponing on #1851086: Replace admin/people with a View. See also #1823450: [Meta] Convert core listings to Views.
Comment #16
mgiffordComment #19
sinasalek CreditAttribution: sinasalek as a volunteer and commentedOne important missing feature is ability to bulk delete terms which is impossible to do using only core UI even in Drupal 8
Comment #20
sinasalek CreditAttribution: sinasalek as a volunteer and commentedComment #21
sinasalek CreditAttribution: sinasalek as a volunteer and commentedComment #32
AnybodyStill relevant for Drupal 9+! The usability of taxonomy administration is still far from perfect.
Comment #33
Anybody