Hi
i try a install but not lucky here my errors..
Fatal error: Call to undefined function node_get_types() in ./modules/vote_up_down/vud_node/vud_node.module on line 82
Fatal error: Call to undefined function node_get_types() in ./modules/vote_up_down/vud_comment/vud_comment.module on line 44
Fatal error: Call to undefined function node_get_types() in ./modules/vote_up_down/vud_term/vud_term.module on line 41
i know is very beta:
ctools says Vote Up/Down (aktiv), Vote Up/Down Comments (aktiv), Vote Up/Down Nodes (aktiv), Vote Up/Down Terms (aktiv)
Fivestars is aktiv and on "vote" in voting api
the think is: it appers nothing (for me) in the People Permissions.
thanks for the d7 port
Comments
Comment #1
nevets CreditAttribution: nevets commentedIt needs to be replaced with a call to node_type_get_type() or node_type_get_types()
Comment #2
eule CreditAttribution: eule commentedhello! thanks for it
i test it and change the line 82 to
'#options' => node_type_get_type('names'),
thats works for me..i get the screen but i become a form error here
Warning: Invalid argument supplied for foreach() in form_process_checkboxes() (Zeile 3016 von ./includes/form.inc).
with node_type_get_types() i dont see the screen but a error like in a iframe
Warning: strlen() expects parameter 1 to be string, object given in drupal_validate_utf8() (Zeile 1503 von ./includes/bootstrap.inc).
Recoverable fatal error: Object of class stdClass could not be converted to string in filter_xss() (Zeile 1333 von ./includes/common.inc).
Comment #3
nevets CreditAttribution: nevets commentedYou probably need to loop through the results of node_type_get_types() to produce a suitable options array.
Comment #4
metalinspired CreditAttribution: metalinspired commentedHere's a quick fix.
Change:
to:
Comment #5
eule CreditAttribution: eule commentedhi thats works for me, thank you! .. i dont get any error...but the Widget selection dont allow me to select any no widget comes up
Comment #6
metalinspired CreditAttribution: metalinspired commentedYeah. I think I hit the same wall but didn't have any time to try and figure it out :S
Comment #7
marvil07 CreditAttribution: marvil07 commentedduplicating #1092460: Error on node configuration in favour of this
Comment #8
dqdAny help needed? (php, html, css) love the module and can't await working beta for d7!
good work! thanks!
regards from Berlin
Comment #9
codare CreditAttribution: codare commentedHi
I found that changing
'#options' => node_get_types('names'),
on line 82, to
'#options' => node_type_get_names('names'),
completely solved the issue for me.
Good Luck!!
Comment #10
jack_tux CreditAttribution: jack_tux commentedYeah that worked here..
Just have to find out now why the vote widget doesn't display for the particular content type.
Comment #11
marvil07 CreditAttribution: marvil07 commentedFixed since 5202d8d.
Comment #13
kirthisekhar CreditAttribution: kirthisekhar commented@codare That worked for me, thanks!