It's very exciting to see the Content Multigroup module being developed in the 6.x-3.x branch! I was wondering if there are any plans to enable additional CCK widgets (specifically the Fivestarr CCK widget) to work with the new 6.x-3.x Content Multigroup module?
When I tried adding a Fivestar CCK rating field into a multigroup I received a message reading: "This change is not allowed. The field Rating handles multiple values differently than the Content module. Making this change could result in the loss of data."
Again, it's really great to see multigroup being developed in the experimental branch!
Comments
Comment #1
markus_petrux commentedI'm sorry, but Fivestar widgets are not compatible with the Multigroup. The reason is that because of the nature of the fivestar widgets, they disable support of the CCK attribute "Multiple values", and this is basic for the multigroup.
Note that the multigroup needs to switch the cardinality of the field to unlimited at the field level, but to 1 to build each widget, because every subgroup in the multigroup can only hold a single delta value.
Comment #2
Michsk commenteddamn it, markus_petrux: any other option in your opinion to use. I want to user your module to let people add an activitie and with conditional fields let them assign a rating to that activitie... Wanted to user fivestar for this but seems that thats imposible
Comment #3
barbecue80 commentedAgreed, this would be very useful.
Comment #4
barbecue80 commentedTo clarify my use case, I'm asking my users to rate multiple products used in a certain location. So the multigroup contains the product name and the rating, and they need to be able to add multiple products to the entry and rate them individually.
Comment #5
patcon commentedFYI
"damn it, < insert module maintainername >" = quickest way to get no response
But I'm going to +1 this as well. If the multiple value restriction were disabled when a fivestar field were in a multigroup, then it could be paired with a node reference field that could be used as the voting target.
I'm just going to bump this over to the fivestar issue queue :)
Comment #6
patcon commentedThought topic could be clarified.
Also, maybe this makes it impossible, but the choice to allow multiple values should only validate if the Voting target it set (ie. through node reference). Otherwise, you would be allowing someone to add multiple votes to current node (the one that has the fivestar CCK), which wouldn't be desirable
If I understand multigroup though, that requirement might really complicate this...
Comment #7
patcon commentedComment #8
Michsk commented@5: That was poor grammar from my side. It should state. Damn it.
Comment #9
1kenthomas commentedMini-bump. I'll probably have *some* version of this working soon, but it won't be the right way!
Comment #10
trickyricky26 commentedVERY useful - bump
Comment #11
dbt102 commentedDrupal 6 is now end of life, and is no longer supported. So Drupal 6 issues for Fivestar are being closed as "Closed (won't fix)". However, we don't want users who are porting from Drupal 6 to 7 to feel unwanted, so if you have any migration issues, please open them as Drupal 8 issues.