I have searched and search for this feature with no luck.

I would like to be able to create a base content type (with say CCK) and then create additional content types which inherit from the base. This is similar, in concept, to inheritance you find in object-oriented programming. The fields in the base content-type would be used in the sub-content-type along with any additional fields which are added the the sub-type. The sub-content-type could be used anywhere the base type is being used.

A really simple example:

base_article has the fields title, body, author

magazine_text_article extends base_article and has the fields feature image, callout

magazine_image_gallery_article extends base_article and has the fields images

Comments

cratos’s picture

I'm also searching for this functionality... If i find anything, ill let you know...

Have you found anything?

beautifulmind’s picture

Great idea.
I Would like to contribute if you are planning to make your own.

Thank you.

:)
Beautifulmind

Regards.
🪷 Beautifulmind

beautifulmind’s picture

I thought deeply on this and come out with some ideas that, I think can work. ;)

If any one is interested in this, please inform here. We can start working on this.
Thank you.

:)
Beautifulmind

Regards.
🪷 Beautifulmind

cratos’s picture

I would love to help, but really never made code in PHP. Although i think i'm ready to start.:)

If u think i can be useful...

Thanks

beautifulmind’s picture

Okay. I don't mind.
Lets discuss how woud we communicate over this?
We aslo has to obtain a CVS account on drupal.org for this.

:)
Beautifulmind

Regards.
🪷 Beautifulmind

cratos’s picture

We can use email, or Intant Messaging i normally use google talk...

My email and google talk account is david.peixoto.gomes@gmail.com. We can also use google docs if we need to colaborate in some document. What do u think???

Feel Free to add me.

;)

beautifulmind’s picture

Thats a very good idea!! :)
My email id is bhavinjoshi19@gmail.com.
I have done some analisys for the same but could not find any proper way.
If you like, I can forward you my work at your email.

Thanks a lot!!!

:)
Beautifulmind

Regards.
🪷 Beautifulmind

colan’s picture

An issue has been started for this over at http://drupal.org/node/100925. Please contribute over there! =)