[development] external vote button?
Hardik Shah
hardik_nt at yahoo.com
Tue Jan 22 15:10:16 UTC 2008
no i dont this will work as its using drupals functions. so i can not display the widget on other sites.
Yuval Hager <yuval at avramzon.net> wrote: On Tuesday 22 January 2008, Hardik Shah wrote:
> Hi All,
> I am trying to add an external vote button like diggit on one of the site
> http://newskicks.com i have figured out that the url is something like
> this:
>
> a href="/vote_up_down/node/241/1?destination=Popular%2FAll
>
> here 241 is node url and 1 is the vote.
>
> now i want to use a java script who vote for the story on this url and then
> gives me back the number of votes after tht,any idea how to do it?
>
> thanks for any hel in advance.
>
Isn't this how vote_up_down works already? Take a look at ajax_vote_up_down.js
in the module directory.
--y
--------------------------------
Hardik Shah
mobile:- 9827634991
phone:- +91-0731-2570516
---------------------------------
5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20080122/ab6c270c/attachment.htm
More information about the development
mailing list