Node comments

Roger López - January 10, 2007 - 21:48

With this module comments can be full nodes. This opens the door for CCK types to be comments, for comments to have uploaded files, taxonomy, revisions, and anything else that comes from the goodness of nodeapi.

To use this module you need to first disable comment.module. The two are, and will remain, completely incompatible. If you don't disable comment module before enabling Node comments module, the module should do this for you.

The D5 version is dependent on Views 1. Please have Views 1 installed before attempting to use on Drupal 5.
The D6 version is of course dependant upon Views 2. Please install that for Drupal 6. DRUPAL-6 branch has been updated to work with Views RC3. see #314565: Update D6 branch to work with View2 RC3

Once you have installed the Node comments module, you will need to designate a content type to be your comments. nodecomment crates the comment content type by default, but this can be any simple type (provided by Drupal core), or a CCK type, or any other type. Whatever you call your type, you need to provide a node-yourtype.tpl.php file to your theme. One comes with the module; it is called node-comment.tpl.php. Move this to your theme directory, and if you ignored my advice and called your comment type something other than comment, rename the file accordingly.

Have fun designing interesting Views to render your comments. Your comments can now appear in tables, lists, or in any other view type that you can imagine.

This module now comes with two default views: node_comments and node_comments_threaded (D5) nodecomments and nodecomments_threaded(D6). Use node_comments if you want a flat presentation and node_comments_threaded if you want threaded presentation. To change the sort order of either view, "add" it in the Views interface and adjust the view sorting as necessary.

This module will probably consume more resources and run slower than the built-in comment module, so don't use it if performance is a concern. At least not until work has been done to benchmark.

Releases

Official releasesDateSizeLinksStatus
6.x-1.2-rc22008-Oct-0818.95 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.12008-May-1618.16 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2009-May-2819.8 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-1.x-dev2008-Aug-0718.2 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.