Er... How does one enable commenting on a CCK-built content-type please?

I have a feeling I'm going to be embarrassed by the answer.

Comments

techczech’s picture

Just like on any other content type: admin/settings/content-types, click on Configure next to the content type, then Default comment setting: Read and write. Unlike core content types, comments on CCK nodes are disabled by default. Remember, you will have to manually enable comments on existing nodes.

______________________
Dominik Lukes
http://www.dominiklukes.net
http://www.hermeneuticheretic.net
http://www.czechupdate.com
http://www.techwillow.com

TheWhippinpost’s picture

Thanks bohemicus.

Half embarrassed - Comments, under admin/settings/content-types, was enabled before the import, but they weren't, apparently, set within each individual node... which is a bit of a ballache when there's just over a 100 of the blighters to now update!

Thanks again.

Mike
------------------------------------------------------------------------------------------
A simple thanks to those that help, a price worth payng for future wealth.

techczech’s picture

No need to be embarrassed - I've been there before myself. Also, I agree that mass editing in Drupal can be a pain. The checkall module has been a godsend but it is only good for some operations.

______________________
Dominik Lukes
http://www.dominiklukes.net
http://www.hermeneuticheretic.net
http://www.czechupdate.com
http://www.techwillow.com

TheWhippinpost’s picture

Indeed.

Well, in case it's of help to anyone else, here's an SQL query you can perform in PHPAdmin (or wherever) to get the job done, en-masse:

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

Mike
------------------------------------------------------------------------------------------
A simple thanks to those that help, a price worth payng for future wealth.

techczech’s picture

Thanks, this should be useful for people in the future. You should post it under the SQL snippets in the handbook: http://drupal.org/node/41586.

______________________
Dominik Lukes
http://www.dominiklukes.net
http://www.hermeneuticheretic.net
http://www.czechupdate.com
http://www.techwillow.com

TheWhippinpost’s picture

Yes, good idea - Done!

PS... to others that may fall across this: Pls note, the code above is missing a single quote: " ' "
before:

" YOUR-CONTENT-TYPE' "

Mike
------------------------------------------------------------------------------------------
A simple thanks to those that help, a price worth payng for future wealth.