I get these errors and I do not see the table:
Notice: Undefined variable: a3 in vud_term_node_view() (line 82 of /home/will/public_html/drupal/sites/all/modules/vote_up_down/vud_term/vud_term.module).
Notice: Undefined property: stdClass::$taxonomy in _vud_term_generate_table() (line 110 of /home/will/public_html/drupal/sites/all/modules/vote_up_down/vud_term/vud_term.module).
Warning: Invalid argument supplied for foreach() in _vud_term_generate_table() (line 110 of /home/will/public_html/drupal/sites/all/modules/vote_up_down/vud_term/vud_term.module).
I am making some fixes to make the warnings and notices go away but I cannot get the table to show. Will keep trying.
Comments
Comment #1
marvil07 commentedvud_term is not expected to work on D7, actually it will be removed: #1295574: Remove vud_{node,comment,term} modules in favour of vud_field.
Instead you can use vud_field to get the same functionality, you just need to add a vud_field field to the vocabulary you want voting enabled.
Comment #2
wrodenbusch commentedThanks marvil07! Sorry about being so slow on the uptake. I am trying to output a table like on this page: http://vud.marvil07.net/node/68. When I add the vud_field to the taxonomy and it shows up but only on the taxonomy view. Is there some extra step I need to do? When I vote on it, it records this:
vote_id entity_type entity_id value value_type tag uid timestamp vote_source
28 taxonomy_term 15 1 points vote 2 1354112839 173.174.109.165
Thanks a ton for your help.
Comment #3
marvil07 commentedThat's a D6 demo.
They are fields, so you need to change how the terms are shown on the node entity, possibly change that vocabulary display configuration and maybe the node theme.
Comment #4
wrodenbusch commentedI have it displaying on the node view now with a field formatter that displays the term entity view. So, everything looks almost how I want it. However, when I vote it is recorded against just the term and not against the node and term. In the D6 version, it seems like when you vote on VIP here http://vud.marvil07.net/node/68 it does not affect your votes on VIP here http://vud.marvil07.net/node/85.
Any ideas on how to create that differentiation in D7?
Comment #5
dremy commented+1
Installed vud term, and vud field and have attempted to get the same results on d7 site, and can't produce the same results. Is this possible? If so, what needs to occur?