Drupal has the ability to change how comments are displayed.
define('COMMENT_MODE_FLAT_COLLAPSED', 0);
define('COMMENT_MODE_FLAT_EXPANDED', 1);
define('COMMENT_MODE_THREADED_COLLAPSED', 2);
define('COMMENT_MODE_THREADED_EXPANDED', 3);
Changing how comments are displayed can only be done site-wide, though. Having the ability to change this per node type would be a great addition, as in the following use case: Case Tracker (www.drupal.org/projects/casetracker) needs to show comments flatly, as sequential versus nested comments to a case are important. It seems project.module addressed this by not using the built-in comments system (it has this notion of "updates"), but there are benefits to using the built-in comments system as well. Having the ability to show flat, sequential comments for cases, but nested for other node types would be great.
Anyone want to add a +1 to this feature? I'd consider partially sponsoring this feature in the spirit of giving back.
(Can such a thing make it into 4.7?)
Comments
Comment #1
DaveNotik commentedAnyone else see this as a valuable feature?
Comment #2
slayerment commentedI think this would be very valuabe because on almost all my Drupal sites I want my forum nodes to have comments displayed differently than other node types.
Comment #3
chx commentedComment #4
DaveNotik commentedIs this issue in the right place?
I really think this feature would be useful to many people. With 4.7 out the door, how can we ensure this is prioritized for the next release?
Comment #5
greggles"cvs" is probably the "right" place because 4.7 is unlikely to get a new feature. You may also be able to create this as a module in which case it could be available for 4.6/4.7/4.7+.
As to getting it considered, you should figure out how to raise the visibility of the feature. Some people do that by including the issue number in every comment they make by putting a blurb in their signature. You can also ask around on IRC what people think about the idea.
Comment #6
dwwclearly not going to happen in 4.7.x now. ;) however, i, too would like to see this in core for 4.8 and beyond. dries wants me to port project module to using comments, so this kind of functionality will be very important for that. if casetracker and others can benefit, too, all the better. +1 for sure.
Comment #7
DaveNotik commentedI'll add, in looking at this again, that when building this we should allow for changing all comment properties, e.g. allow for a comment subject on some node types and not on others.
Comment #8
drumdance commentedI'd like this but what I really need is to change the access on a node-type basis. I allow anonymous comments on most parts of my site, but there's one content type where I want to require registration.
Here's the site: http://www.yourmtb.com
I'd like to require people to register before posting comments on a contest node: http://www.yourmtb.com/contests
Comment #9
whereisian commented+1 I've been looking for this. Any idea if it's been included in version 5?
Comment #10
orican commentedBeen looking for this. +1
Comment #11
stevenpatzFeatures go in HEAD
Comment #12
dwwNormally, I hate marking the older issue duplicate, but this problem is now being solved in a more general way over at http://drupal.org/node/180432. If people care about this, please review and test the latest patch there.