Pruning CCK Fields

Created on 6 January 2008, over 16 years ago
Updated 22 May 2023, about 1 year ago

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.

✨ Feature request
Status

Closed: won't fix

Version

1.0

Component

Documentation

Created by

🇺🇸United States verbidei

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024