Hello
I have installed a vote_up_down.module to use for rating posts on nodes and comments by giving them positive (up) and negative (down) points, much like it reddit.com has.
The module is apparently meant to work with the vote_storylink.module as the primary goal seems to be to clone the reddit.com and even digg.com experience. However, I am not planning to do that and I would just like to use it for simple rating of articles, forum posts and blog entries. The module package includes the vote_storylink.module as well as an example template.php and node-storylink.tpl.php where the voting (up and down) widget is already enabled. The help, however, says that I can include the widget through a template for other content types and modules by following a vote-storylink.tpl.php example.
From what I've seen, the example uses this to call and display the widget:
print $vote_up_down_widget
But that doesn't work. Nothing happens and nothing is displayed, even when I turn off the built in display of the widget (for the template switch not to contradict it) from the admin area. And yes, I have copied the context of template.php that was provided. I merged the phptemplate_variables function that is there with the one that already existed in my own, so it ultimately looks like this:
<?php
function _phptemplate_variables($hook, $vars) {