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

markus_petrux’s picture

Component: fieldgroup.module » content_multigroup.module
Status: Active » Closed (works as designed)

I'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.

Michsk’s picture

damn 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

barbecue80’s picture

Agreed, this would be very useful.

barbecue80’s picture

To 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.

patcon’s picture

Project: Content Construction Kit (CCK) » Fivestar
Version: 6.x-3.x-dev » 6.x-1.19
Component: content_multigroup.module » Code
Status: Closed (works as designed) » Active

FYI
"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 :)

patcon’s picture

Title: Fivestar CCK support in Content Multigroup module » Allow multiple values for Fivestar CCK when part multigroup

Thought 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...

patcon’s picture

Title: Allow multiple values for Fivestar CCK when part multigroup » Allow multiple values for Fivestar CCK when part of multigroup
Michsk’s picture

@5: That was poor grammar from my side. It should state. Damn it.

1kenthomas’s picture

Mini-bump. I'll probably have *some* version of this working soon, but it won't be the right way!

trickyricky26’s picture

VERY useful - bump

dbt102’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Drupal 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.