Mass-Enable Commenting on CCK-Built Content-Types

Here's an SQL query you can perform in PHPAdmin (or wherever) to get the job of mass-enabling comments on all the individual nodes of a specified content-type done, en-masse.

UPDATE `node` SET `comment` = '2' WHERE `type` = 'YOUR-CONTENT-TYPE-NAME'

Useful for when I imported a load of content into a CCK-built content type.

Verfied: works like a charm.

Robert de Bock - August 27, 2007 - 08:24

Works perfectly, thanks for your contribution!

Regards,

Robert de Bock
http://meinit.nl/

 
 

Drupal is a registered trademark of Dries Buytaert.