votes

Plugin to submit a user vote to Navigate CMS. It is needed by extensions like "Raty voting plugin".

Author

Naviwebs [ info@naviwebs.com ]

Licenses

Code: GPL

Instructions

In your templates, call the javascript function "nvweb_votes_plugin_vote".
The function expects two parameters:

-value: score given by the user (integer)
-callback: name of the function which will get the vote result.

Note: the webuser must be logged in to vote.

The callback function will receive one parameter: vote result.
{ok: "true"}
or
{error: "error_code"}
error codes: no_webuser, already_voted, error

Roadmap

no new features planned

Known bugs and problems

none

Releases

1.1 12-Ago-2012
converted to a Navigate CMS extension

1.0 02-Jul-2011
first release