In nodevote_nodeapi, for the 'view' case, it sets an explicitly weight for nodevote_display, but not for nodevote. As a result, the section for voting on a node can appear unpredictably.

Ideally, the weight should be configurable. But an immediate fix would be to add an explicit weight setting, as is done for the nodevote_display section.

Comments

Leeteq’s picture

Subscribing.

husztisanyi’s picture

I insert the this row in nodevote.module at line 349:
'#weight' => 10,

... because, before voting, the vote filelds appear at the top of the node.

kbahey’s picture

Status: Active » Closed (fixed)

You can add the weight using the form_alter hook in an external module, without modifying the source code for nodevote itself.