In vud_node.module variables are passed to theme() function (for vud_... themes) as a list of arguments rather than as array.
Also in vud_node.module and vud_term.module in hook_node_view() markup should be added to $node->content['#markup'] to be displayed properly rather than to $node->content['#value'].
As a result voting markup is not displayed at node content.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | vote_up_down-2090875-theme-and-node-content.patch | 6.87 KB | alex.bukach |
Comments
Comment #1
alex.bukach commentedThe same issue is also for some other theme() calls.
Comment #2
alex.bukach commentedComment #3
David Hernández commentedThere are white spaces at the end of the lines. That goes against the Drupal Code Standards.
Apart from that, the patch works like a charm!
Comment #4
David Hernández commentedAs the whitespaces is a minor issue that doesn't affect the effectivity of the patch, I'm marking this issue as RTBC, hoping that gets committed soon.
Comment #5
marvil07 commentedvud_node will not be on stable release.
See #1295574: Remove vud_{node,comment,term} modules in favour of vud_field and project page for more details.
Comment #6
David Hernández commentedCan at least be commited into the current dev version, as now the system is broken?
Comment #8
marvil07 commentedThanks for the patch and the review. Added after removing spaces.