Actually i have a content type which has some cck fields and now want to duplicate them in the new content type.When i add the existing cck field in the new content type, it is added but it is removed from the database of the previous content type's table and also it does not show the added cck field in the new content type's table...

But when i add a content into the new content type it shows the added cck field and also saves data and also viewed on the front end of the site, I need help that what the problem is and its solution.

Thanks in advance

Comments

tanzeel’s picture

Version: 6.x-1.x-dev » 6.x-2.8
tanzeel’s picture

When you attach a cck field with one content type (for example "page") only, drupal saves data of this field in table like "content_type_page", but on attaching this cck field to any other content type, drupal changes the database structure to save cck field value for multiple content types. If fields and its value are coming smoothly at admin end and front end there is no problem with cck fields. Hope this is answer of your question.

mustafa.ata’s picture

Status: Active » Closed (fixed)

Thanks i got it, Actually drupal makes new table for each shared field like (content_field_fieldname).