GSoC 2009: Widget API

lut4rp - May 25, 2009 - 11:38
Project:Vote Up/Down
Version:6.x-2.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:gsoc2009, gsoc2009-lut4rp
Description

(Its GSoC code time and we're starting our overhaul now! This is the first of many issues that will follow. All GSoC issues will be tagged as gsoc2009 and gsoc2009-lut4rp.)

A long time requested feature has been a way to change the voting widget. The only way to do that in 1.x was to modify the images and CSS. This is inspired from Fivestar (http://drupal.org/project/fivestar) which has a method for users to select different "star sets".

Our goals:
- Show a list of all available widget themes
- Allow users to choose different themes for every implementation (eg: nodes, comments)
- Allow each widget theme have its own style (up, up/down, down)

Implementation ideas:
- Base it on template files (implemented in UpDown - http://drupal.org/project/updown)
- keep widget engine in vote_up_down.widget.inc
- keep widgets in ./widgets/
- template_preprocess_* hooks are already in use in the 1.x branch.
- More ideas? :-)

#1

cerup - August 30, 2009 - 05:57

Since GSoC is over, has this been updated somewhere?

 
 

Drupal is a registered trademark of Dries Buytaert.