2

Firstly, apologies if I don't use correct Drupal or database terminology - I'm still learning!

I am using Drupal 6 with the latest stable versions of CCK, Views and Date.

I have a content type that requires two 'sections' of fields - the first would be for standard fields, the second would be multiple entry fields where all the fields are related.

It's probably best explained with an example, so here goes:

Let's say the content type is for episodes of a TV show.

Firstly, we want to know the title of the episode, so there'll be a title field.

Secondly, we want a reference number for the episode, so there'll be an ID field.

Now for the grouped fields:

We want to know when the episode was broadcast, and on what channel. However, it may be that the episode is repeated - and that repeat could be on another channel. For example:

Top Gear was on BBC2 this evening (26/06/11) at 8pm. It will be repeated on BBC2 on 28/06/11 at 11.20pm. It will be repeated again on 29/06/11 at 7pm, this time on BBC3.

So I want to have an unlimited value datetime field. However, this needs to be bound to an unlimited value text field for the channel (and likewise for any other field with unlimited value data).

How do I achieve this?

Thanks in advance for any assistance! Please bear in mind that I'm not much more than a novice - I can install a module but I won't know how to do any advanced stuff without guidance!

0

1 Answer 1

2

The drupal 6 version of cck comes with a sub-module called multigroup. This will allow you to group multiple fields together and allow for unlimited inputs per group.

13
  • 2
    Note that multigroup support is only in the 6.x-3.0 alpha release.
    – Dylan Tack
    Commented Jun 27, 2011 at 4:27
  • Thanks! However, the closest thing I can see within CCK is Fieldgroup. Do you mean that? I also searched the Drupal site, and couldn't find a multigroup module. When I enable fieldgroup, I can create a group, but it just shows up in the fields list. How do I use a group? Am I even using the right thing? Commented Jun 27, 2011 at 19:57
  • fieldgroup is not the same as multigroup. As @Dylan Tack noted, you must be using the 3.0 alpha release and also must enable the multigroup sub module. Once this is done you will have the multigroup option in fields.
    – user842
    Commented Jun 27, 2011 at 21:24
  • Ah sorry, I don't know how I missed that bit! OK, I've updated to the alpha and enabled Content Multigroup. I've created a multigroup, but once again I don't see how to put fields in it, and it just shows up in the orderable list much like a field. How do I use it? Commented Jun 27, 2011 at 22:57
  • 1
    I'm sorry you feel that way. However, your first answer was not helpful as you didn't notice I said I use the latest STABLE release - you didn't mention I would need the alpha. You then didn't explain how multigroup worked - I did state I'm a novice. Is this not a help site? The solution you gave has given me a lot of NEW errors, which you won't help me solve. Sorry, whilst I respect your superior knowledge, how am I supposed to feel about this? I hoped that asking further questions would solve the issue - obviously I'm wrong. Commented Jun 28, 2011 at 2:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.