Main menu

Enable comments for existing nodes

Published by dnovikov on Tue, 05/17/2011 - 17:07

You know how easy comments can be added to Drupal nodes. You need to just enable appropriate module and set up node types. But comments will appear only for new nodes, not existing. It depends on 'comment' column in 'node' table. Fix it with query:

UPDATE node SET comment = 2 WHERE type IN ('your_node_type'[,...])

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.