What i'm trying to achieve is:

User comes to node/add/blog there they can select a term and give it a rating trough another cck select list (this basically shows 1-5 doesn't need to be fancy). When they want to add a term that is not in the vocab they should be able to add a new term to the vocab without leaving the page. Another thing is that there should not be a limit on how many terms + there rating can be made, here's where content_multigroup comes in place.

What have i tried

  • Setup 1:
  • This was the most basic setup it did do the trick (kind of). I created a cck selectlist and made it get the terms trough php. Trough taxonomy_delegate i created the possibility to let users add a new term. Using a modal script i got it to place the taxonomy_delegate form in the modal. So now users where kept at the node/add page and where possible to add a new term and give it a rating. Downside: the node's where not linked to the term and that kept bugging me. Another thing is that is started using ctools modal and didn't want to use the other modal script for only this case. Since i can't get the taxonomy_delegate form in the ctools modal, this setup was dead.
  • Setup 2:
  • This setup was more the drupal way. Installed the modules content_taxonomy and hierarchical_select. hierarchical_select supplies a widget for content_taxonomy and everything seemed to work. Users can add new terms trough hierarchical_select and it looked nice. The issue now is that i can't place content_taxonomy anymore in content_multigroup because it's configured by hierarchical_select. When i try to place content_taxonomy in the content_multigroup i get the following error: This change is not allowed. The field Activiteit handles multiple values differently than the Content module. Making this change could result in the loss of data.

I really hope it's clear what i want to achieve and hope that someone can help me with a working setup.

Comments

Michsk’s picture

Status: Active » Closed (duplicate)