compound field

mrjp's picture

So near yet so far with a filefield and textarea compound field

Hey,

Firstly, am new to this group, so hopefully my discussion item is relevant.

I have been spending the last few days trying out a compound CCK field, using examples such as http://www.poplarware.com/articles/cck_field_module as a great starting point. I have come to realise such how complex an area this is, but I feel I have managed to get quite far along a solution, and wanted to ask around if anyone had any pointers or advice for completing it.

I'm looking to create a CCK field containing a textarea element, and an imagefield element so that a content editor could create n number of 'paragraphs' (textareas) in a node, with images attached to the paragraph. I also want the imagefield to be optional within the compound CCK field; you should be able to have a paragraph without an image. This differs slightly from Jennifer's img_cap_tax_fld example (from PoplarWare) in that the caption field appears after a file has been uploaded, and is stored serially with the file.

Read more
Subscribe with RSS Syndicate content