Download & Extend

conflict with "add another item" button from filefield triggering multiple instances of tagging suggestions

Project:Tagging
Version:6.x-2.5
Component:UX / GUI / Interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

If I enable
Drupal Wiki taggin suggestions 6.x-2.5
then I can't get the "add another item" button from filefield to work. I click on it and nothing happens.

Comments

#1

Any errors, JS whatever. Please provide details, iam not a wizard

#2

Hi there,
I have the same problem, Drupal Wiki tagging suggestions 6.x-2.5 breaks the CCK filefield with multiple items. See screenshot attached for error messages

AttachmentSize
ScreenHunter_01 Jan. 13 11.34.jpg 289.3 KB

#3

I think this comes from the fact that module (at least JavaScript part of it) is not written to handle multiple occurences of the same taxonomy input field.

I have a similar issue when tagging multiple images in "Node Gallery" module.
The Manage Images page of this module lists 10 images per page and each image has taxonomy field applied. When clicking + to add suggested term on one field, all other fields reflect this selection, thus rendering tagging of multiple nodes on the same page impossible.

#4

Title:conflict with "add another item" button from filefield » Allow using tagging for the same vocab multiple times
Category:bug report» feature request

Yes that is wrong. Tagging is written to work in multiple instances - but only on different vocabs ( as the vocab is used as identifier ). Having "multi edits" is not supported yet, feel free to add the element-id as suffix and patch it.

#5

Ok, I'll try.

A little hint would be helpful - my changes should go into tagging_form_alter, is that correct?
Are there any changes necessary in tagging.plugin.js, as well?

Please, if you could just outline the correct apporach I'll try and make necessary changes and post the results back.

#6

Category:feature request» task
Priority:normal» critical

#7

Category:task» feature request
Priority:critical» normal

thats i nor critical nor a task. That is a feature request :)

#8

Ok, and suggestions about how to code it?

#9

i write down some hints as soon as i find time

#10

Here is a module which implements this functionality, maybe we can borrow some code from there

http://drupal.org/project/suggestedterms

#11

I feel there might be a little confusion with regards to the issue, we were not asking for multi-edits of tagging although I'm sure it's a good idea, the problem is that when Drupal Wiki tagging suggestions is enabled, the CCK field 'filefield' or 'imagefield' stop responding in their intended manner. You should be able to add multiple values to this filefield by click 'add another item' button, but this stops working.

#12

Category:feature request» support request

that rather sounds like a bug. Any JS errors?

#13

Category:support request» feature request

yes, the screenshot I posted in #2, you can see the button has just been clicked and the error returned is alerted on the screen with firebug displaying it also. I think that's why the post was originally labelled 'conflict' because switching Drupal wiki tagging suggestions on stops that other feature from filefield. What should happen when we click 'add another item' is we get a new ajax form for uploading a file/image, however an error is now returned.

I believe the conflict is between these modules:

- CCK and CCK filefield
- Tagging's submodule 'Drupal Wiki tagging suggestions' which is the one I would really like to use (but unfortunately cannot give up CCK filefield).

Thank you

#14

Oh, I see and perhaps the multi-editing would solve that since you could have multiple drupal wiki tagging suggestions in the same form, that would work actually, but really we wouldn't need an extra tagging field for each image unless we wanted to add a tag to each image, well I'd prefer to have only tagging fields for my entire node in this case, but I bet someone somewhere would love to have tags for each of their files/images...

#15

Title:Allow using tagging for the same vocab multiple times» conflict with "add another item" button from filefield triggering multiple instances of tagging suggestions
Category:feature request» bug report

#16

I'm having the same problem with add another item with the Datestamp CCK field.

AttachmentSize
Add another item Datestamp CCK 49.19 KB