Project:Comment mover
Version:6.x-1.x-dev
Component:Documentation
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed

Issue Summary

This module does - almost - exactly what I need (moving a node to a comment field). However, it only seems to take from the 'body' field. Is there a way to configure/patch it so that it will also take from some custom CCK fields and CCK field groups (for example, I have a CCK field called "field_best_character" and a group called "group_tq_soundtrack"?

I assume the issue is somewhere in here (but I'm too much of a PHP novice to figure it out):
case COMMENT_MOVER_NODE_TO_COMMENT:
$comment = $object;
$comment['comment'] = $object['body'];
$comment['subject'] = $object['title'];
// A published node has a status of 1, a published comment has a status of 0.
$comment['status'] = !$object['status'];
break;

Any help is greatly appreciated. Thanks.

Comments

#1

Category:support request» feature request

The module was written before CCK was there (or mainstream), but yes, I think this is doable.

#2

Status:active» postponed

Sounds like a good feature, not sure how feasible though. We would have to merge all the fields down to one concatenated field. Will keep this in my as I make rewrites.

#3

Version:5.x-1.x-dev» 6.x-1.x-dev