is there a easy way to duplicate cck field with the same propeties just to make it a diffrent name?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes there is. Edit: I see now you said cck field, but I read “cck type” instead :/
To use an existing field: See Gokul N K’s answer.
Basically you:
Go to “Manage Fields” for your content type and under Existing field, add a new label and choose the field you want to use from the dropdown.
To duplicate an entire content type:
admin/content/types/exportand choose the content type you wish to copyThe first few lines of the code need to be changed (to change name). Edit the first few lines as needed, for example:
$content['type'] = array ('name' => 'NEW NAME',
'type' => 'new_name',
'description' => 'A new content type with all similar properties of another',
Copy everything from the “Export data” box
Click the “Import” tab at the top of the screen (or navigate to
admin/content/types/import)Paste everything into the “Import data” box, make sure “Content Type” is
<Create>, and click “Import”