Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Well, when you cck installed (http://drupal.org/project/cck), it lets you define a widget on any node type and you can link either comments from the same node or from other nodes. I created this once for a project because a client wanted a 'quote of the week' which displayed the subject of a comment entered by an online user. They had one node which was alwas displayed on the home page and every now and then they edited it and chose another comment to be linked to it. In the theming layer, they only did the output of this node.
Well, first of all, there must be at least one exisiting comment of course.
If you chose for the select list, you can choose from that select field, with autocomplete, you can start typing and it will present you with a list of comments depending on the word you entered
I thought that with this module it's possible to create a content type with (for example) 4 column comments.
( If sombody creates a new node, 4 new empty comments columns will be also created. )
Comments
Comment #1
swentel commentedWell, when you cck installed (http://drupal.org/project/cck), it lets you define a widget on any node type and you can link either comments from the same node or from other nodes. I created this once for a project because a client wanted a 'quote of the week' which displayed the subject of a comment entered by an online user. They had one node which was alwas displayed on the home page and every now and then they edited it and chose another comment to be linked to it. In the theming layer, they only did the output of this node.
Comment #2
tommytom commentedbut what's the name of the widget ? I enabled this module and I don't see a new widget while adding a new field in CCK.
Comment #3
tommytom commentedComment #4
swentel commentedThat's strange, normally in the 'field type' select box, you should be able to choose 'Comment reference'
Comment #5
tommytom commentedSorry, I have a new type: "Comment Reference" .
I created a new field Comment Reference but how can I link comments to this ?
Comment #6
swentel commentedWell, first of all, there must be at least one exisiting comment of course.
If you chose for the select list, you can choose from that select field, with autocomplete, you can start typing and it will present you with a list of comments depending on the word you entered
Comment #7
tommytom commentedThanks, now I see the list.
I thought that with this module it's possible to create a content type with (for example) 4 column comments.
( If sombody creates a new node, 4 new empty comments columns will be also created. )
Do you know how to do it ?
Comment #8
swentel commentedHmm this module doesn't provide that functionality. Haven't heard of any other module out there yet that makes this possible.
Comment #9
tommytom commentedwith Pro Con Arguments it is possible but it's only compatible with Drupal 5 :(
Comment #10
tommytom commentedComment #11
swentel commentedPossibly yes, but again, this module is referencing, not for creating comments.