Hello i have a Content Type that has been using a body field. Now i was wanting to use a CCK text field instead. Is there a way i can convert existing node body fields for this content type to my new cck field?
Thanks
(drupal 6)
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this communityThree options spring to mind:
node_save()
.node_revisions
and insert it into your field value column for each node. node
table to get the content type information: INNER JOIN node n ON nr.vid = n.vid
where nr
is the alias for node_revisions
.