By sieg1974 on
Hi All,
I just started using Drupal, and got it installed with CCK (Content Construction Kit).
Now I want to have a content type called ContentTest that can have many SubContentTest elements. The number of SubContentTest would not be know in advance, and each different ContentTest could have a different number of SubContentTest. Does anyone know any modules that does support this feature? Or any module that does something similar that I can modify for my needs?
Thanks in advance,
Andre
Comments
_
One way to do it would be to add a multiselect nodereference field to the ContentTest content type listing the SubContentTest items.
Another way might be to use one of the node relationship modules: node2node, nodehierarchy, relativity, etc.
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
subscribing (same need for
subscribing
(same need for me..)
I'm Looking for a similar solution
I'm looking for a similar solution. I'm creating a custom classifieds site. I want one Parent "CLASSIFIEDS" content type. Underneath that as children, I want "REAL ESTATE", "AUTOS" etc - the reason being is that each sub classified type would have a different set of form elements. Any thoughts? Or is the best way to handle it just have .. dunno.. 25 different content types each representing a classifieds category?
Blue
Too many content types!
I have a similar problem and I'm not seeing any answers, anywhere!
I have a site with 9 main content types or categories each of those categories have 4 sub-categories to chose from... from there you would get a set of specific form elements to fill out.
The form elements depend on what parent category is selected and what sub-category is selected.
Example: content_types are: dining, nightlife, shopping, lodging and community—say you select: dining... the next question asks what sub-category membership level: basic member, basic enhanced, promo or premier?
If I choose: create new dining member > basic member. I should then get a form tailored for dining, basic members...
I can find any documentation on this—PLEASE HELP.
_
You can do some of this with the conditional_fields module.
Similar situation
I want to have a content type ALBUM that contains an unknown number of TRACKs. Using the station module, but it doesn't provide that capability.
I think I have a similar problem
Has anyone of you found a solution for this?
Here's my example...
I want to create an Album list (with some details like artist, year and etc) and on each album there are n tracks.
I guess I can accomplish that by simply creating two content (album and track) and nodereference the track to album. But, is there a way to add a track without leaving the album page and auto-reference the track to the album?
Thanks everyone in advance!
Have a similar problem...
Any fast and clever way to create related node content.
EDIT::::
Never mind found out that it was already very easy to add multiple related nodes in drupal - huraaaay
While this tutorial covers
While this tutorial covers making a playlist for the MediaFront video player, it also explains one way of creating the album->track situation as discussed above, using the Node Relativity module.
http://www.mediafront.org/documentation/drupalmediafront-osm-cms-integra...
What I have done
For making an album with "tracks":
Make a content type called "album" - add an "unlimited" CCK emfield for your .wav/.mp3 etc type. One stop, you make a node and then add tracks, and then use views or similar to attach the information where you want it. I've used both node-%.tpl and Panels to get the same result.
---
For the ContentTest - Your path of least resistance is using "node references" or the "node queue" module. Node queue will let you "tie" nodes together however you wish. Lastly, you may want to try "node heirarchy" if you need to have your menus also follow the parent -> child relationship.
I've also experimented with Rules and creating a routine for creating and adding new content types on the fly, you can try that too, but it tends to be buggy
If you want to go another direction entirely - I would try perhaps making your own complex CCK field, or create an "element" with hook_element to define your own special items that Drupal does not have.
Lot's of options!
Nothing unreal exists.