Folks, I have a content-type with about 50 nodes that I want to split into two content-types. The content-type has four cck fields including two filefield/imagefield fields. I want to create a new content-type and change the content-type of about 25 of those nodes to the new content-type.
The new content-type will only have 1 cck field which will be one of the two filefield/imagefield fields from the original content-type. None of the nodes that I want to change have any content in the three fields that I won't be adding to the new content-type. For changing the content-type I was going to do it directly on the db in the node table.
I don't see any bad consequences of this. But am I missing something?
Shai
On Thu, Aug 20, 2009 at 5:51 PM, Shai Gluskinshai@content2zero.com wrote:
I don't see any bad consequences of this. But am I missing something?
I've done this before. It "should" work, but you may want to edit all the nodes afterward and save them. Then you're nodes will be parve!
Also, try it on a backup of the real site first ;)
Greg
Hi,
There is also a module for this: http://drupal.org/project/node_convert
same, be carefull message applies.
rgds,
Reinier Battenberg Director Mountbatten Ltd. +256 782 801 749 www.mountbatten.net
Be a professional website builder: www.easysites.ug
On Friday 21 August 2009 03:20:29 Greg Knaddison wrote:
On Thu, Aug 20, 2009 at 5:51 PM, Shai Gluskinshai@content2zero.com wrote:
I don't see any bad consequences of this. But am I missing something?
I've done this before. It "should" work, but you may want to edit all the nodes afterward and save them. Then you're nodes will be parve!
Also, try it on a backup of the real site first ;)
Greg
Actually there can be some consequences by switching the name of the type in the db because each content type has its own table in the database. Just switching it in the node table won't change in in the cck content type table.
The node convert module should work, but unfortunately you'll have to do it one node at a time.
Sam
On Fri, Aug 21, 2009 at 6:00 AM, Reinier Battenberg < reinier.battenberg@mountbatten.net> wrote:
Hi,
There is also a module for this: http://drupal.org/project/node_convert
same, be carefull message applies.
rgds,
Reinier Battenberg Director Mountbatten Ltd. +256 782 801 749 www.mountbatten.net
Be a professional website builder: www.easysites.ug
On Friday 21 August 2009 03:20:29 Greg Knaddison wrote:
On Thu, Aug 20, 2009 at 5:51 PM, Shai Gluskinshai@content2zero.com
wrote:
I don't see any bad consequences of this. But am I missing something?
I've done this before. It "should" work, but you may want to edit all the nodes afterward and save them. Then you're nodes will be parve!
Also, try it on a backup of the real site first ;)
Greg
-- [ Drupal support list | http://lists.drupal.org/ ]