[development] Changing Input format for all instances of a field

Brian Vuyk brian at brianvuyk.com
Mon Sep 28 16:57:58 UTC 2009


Michael Favia wrote:
> Brian Vuyk wrote:
>> I need to change the input format for all instances of a certain CCK 
>> field. What is the best way to go about this? There are about 2,000 
>> nodes that need to be updated. What's the best way to do this?
> This is best done in the mysql client using a update with a join 
> between the 'node' and 'node_revision' tables filtering out only the 
> 'type' you want. -mf
node_revisions only holds the format for the 'body' field. It doesn't 
touch CCK stuff.

Brian


More information about the development mailing list