Hi!

Usually if we want to alter some form structure before rendering, we can use '#pre_render' (in hook_nodeapi) to add some functions that will process unrendered form array:
$node->content['#pre_render'][] = 'our_data_alter';

But when composite is enabled for this node, this pre render functions won't run. So as the solution i propose to add drupal_alter to composite_cck module just before the call to drupal_render(), so we can change form array just the same like using #pre_render.

Maybe i don't clear enough, if you have question, please ask them!

CommentFileSizeAuthor
#1 composite_cck.patch439 bytesaleksey.tk

Comments

aleksey.tk’s picture

StatusFileSize
new439 bytes
bengtan’s picture

Status: Active » Fixed

Hi, committed. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.