Create content type with sub content types

sieg1974 - February 17, 2009 - 21:23

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

_

WorldFallz - February 17, 2009 - 21:37

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

iko - March 13, 2009 - 15:03

subscribing
(same need for me..)

I'm Looking for a similar solution

blue92877 - May 27, 2009 - 13:18

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

Similar situation

tim.plunkett - June 8, 2009 - 20:46

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.

Tim Plunkett
WKDU 91.7fm

I think I have a similar problem

devtamm - August 16, 2009 - 07:29

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!

 
 

Drupal is a registered trademark of Dries Buytaert.