I am writing an addition to the Services module that exposes a simple API for the vote up/down module. In order to do this I needed to modify this module to separate the data from presentation.

I added two new helper functions to accomplish this:

- vote_up_down_submitVote()
- vote_up_down_points_result()

Attached is a patch file with this update.

CommentFileSizeAuthor
vote_up_down.module_1.patch3.25 KBAnonymous (not verified)

Comments

jjjames’s picture

This patch doesn't work...i get an error when trying to patch saying file doesn't exist. I suspect something about the _1 at the end of the file name? Can you pleae help?
Thanks

marvil07’s picture

Category: bug » task
Status: Needs work » Closed (won't fix)

Please take a look to the update on the project page, now 5.x is not-really-maintained.