Hi,
Ok, basically i'm trying to create a new content type, so that once I click on create content->new_CCK_type , i will be presented with the following page...
TITLE : THE TITLE OF THE NEW PAGE
BODY 1 : JUST A LINE OF TEXT
AUDIO 1: THE OPTION TO UPLOAD AN AUDIO FILE
|selection bar to add another 1, 3 or 5 items|
|SUBMIT|
--------
So far, I hope that makes sense.. The reason I need the selection bar to add more items is because sometimes I may have 20, 10, 7, 16, etc number of items to display on the page.
So once I've completed the page with all of the entries, the resulting page should look something like this
THE TITLE OF THE NEW PAGE
THE FIRST BODY |||| LINK TO THE AUDIO FILE THAT WAS ATTACHED
THE SECOND BODY |||| NO LINK GIVEN BECAUSE NO AUDIO FILE ATTACHED
THE THIRD BODY |||| LINK TO THE AUDIO FILE THAT WAS ATTACHED
.
.
etc
I've been looking at the CCK module but can't seem to get my head around this problem. I'm fairly new to Drupal and could really use the advice of the more experienced developers out there. Is this even possible with CCK? and in any event, what is the best approach to making it happen. The only other option that I see is to make a bunch of different content types that will have the fields pre-made, but that doesn't seem like the best solution.
Comments
I also need to add fields
I also need to add fields programmatically but for a different purpose. Have you found any solution to this problem or am I doomed to do this in some other way without CCK?