It should be possible to create a content type that handled things like the ingredients in recipe.module.

CommentFileSizeAuthor
#1 field_list.inc2.55 KBharald.walker
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

harald.walker’s picture

FileSize
2.55 KB

I just created a list type so that I can replace the recipe module with a flexinode content type. Just place the attached file in your flexinode folder and give it a try.

It is based on the table field type and just as this one it starts with 8 list items and ads one extra row when you edit it again (e.g. after previewing).

Uwe Hermann’s picture

This is great, thanks a lot! A really nice feature would be to allow any type (URL, mp3, etc.) as list items not just plain-text fields. How hard would it be to implement this?

harald.walker’s picture

So what you want is a list of links etc?

Well, you can't apply a field type to a field type. One could of course create a new field type or maybe customize this version. I have to work on my Quicktime field type first and create some themes. So if anyone wants to pick this up, you are welcome.

If you would like to output other field types as list, you could also try to solve it within your theme:
How to theme a Drupal flexinode

Bèr Kessels’s picture

Component: Code » Field type: other
Status: Active » Needs review
urbanlegend’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Given that this issue has not been updated in 9 years or more, I am closing this ticket as outdated (no longer needed and/or relevant). However, if anyone feels this represents an issue that is still being encountered in the current version of Drupal, please reopen and/or provide additional comments.