Closed (fixed)
Project:
UpDown
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2008 at 00:00 UTC
Updated:
22 Aug 2008 at 22:43 UTC
Jump to comment: Most recent file
We need a settings form which exposes the following options (taken from vote_up_down):
Also permissions for what roles can cast votes would probably be a good idea.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | updown.patch | 17.64 KB | rwohleb |
| #2 | updown.patch | 17.6 KB | rwohleb |
Comments
Comment #1
joshk commentedA really nice touch would be if these settings could be overridden on each node-settings form as well, ala fivestar.
Comment #2
rwohlebThis patch adds in the missing nodeapi hook, breaks the templates out into files, allows for positioning on node/teaser, and provides settings per node type.
Comment #3
rwohlebHere is an update to the patch that avoids a perm collision with a poorly named perm in fivestar.
Comment #4
joshk commentedThat's good to break this into a tpl.php. Maybe this can help with different style/widget plugins ala this other ticket.
Inline javascript should be removed from the tpl.php file and put into updown.js IMHO.
Comment #5
rwohlebAgreed. Breaking out the JS will also help with namespacing if CCK support is introduced.
Comment #6
joshk commentedMerged this w/dmitri's updates and committed.