1

I want to be able to create a content type with a number of fields (naturally). One section of the content type needs to be like the attached image with the ability to:
- group items together (e.g. an 'ingredient' in a recipe' - "2 cups flour, sifted"
- link (via autocomplete) to existing nodes [INGREDIENT NAME field below]
- add multiple items with a "more" button

Below is a screenshot from the 'Recipe' module. Is it possible to create this structure with CCK and can this be then added in a feature? content group

3

Use field collection to make a group of fields, then set that group to unlimited entries, simple.

  • 1
    thanks that worked a treat! I also used field_collection_table to make adding content easier – space_balls Mar 19 '15 at 3:46
  • needed to apply this patch to field_collection_table to make it work correctly - drupal.org/node/2104475 – space_balls Mar 26 '15 at 22:51
  • Good work! Did you need to add the extra bracket as per comment #12? If so it would be useful to let others know on that thread that you found the comment to be correct. – Darvanen Mar 26 '15 at 22:54
  • yeah extra bracket is needed. – space_balls Mar 27 '15 at 0:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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