once you implement hook_view(), node_prepare() (which handles filtering and putting $node->body or $node->teaser into $node->content) is not called automatically. so, to actually display the decision's "description" field in decision output, you need to call node_prepare() yourself. attached patch does this. i also set this field's weight in the content array to -1 so the description would come before all the voting-specific goo. that seemed like the most clear and intuitive placement, but feel free to rip out that line if you'd rather it shows up at the bottom of the page if you'd prefer.

CommentFileSizeAuthor
decisions-body.patch.txt813 bytesdww
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dww’s picture

Status: Needs review » Fixed

i found anarcat in IRC, who reviewed and committed this (to both HEAD and DRUPAL-5). thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)