Hi,

i try to use $vote_up_down_widget and $vote_up_down_points in my node.tpl.php (with print of course). It seems like they get completely ignored. Did i miss something or is this unsupported in the 5.x version? I didn't find any documentation about that yet.

Comments

frjo’s picture

Category: bug » support

Did you use the template.php file that is included with Vote up/down? Without this file the variables in question is not set.

fhelmschrott’s picture

thanks for your quick reply. No i did not as i didn't find it documented. is it already written anywhere?

I just copied some code to my template.php and it seems to work now. unfortunately the default widget and points display is still in place.

frjo’s picture

Well, it's mentioned in both the README and INSTALL files so I don't think I have hidden it that much :-).

In the README you have your answer for the second question also, you need to turn of Vote up/down for that node type to avoid the double widgets.

frjo’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)