Polls themeable

Anonymous (not verified) - February 11, 2003 - 22:43
Project:Drupal
Version:x.y.z
Component:poll.module
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

It would be nice if the poll results could be themed.

#1

al - March 12, 2003 - 04:42

What specifically do you want to theme about them? It's currently possible to change the colour of the bars and that's about it.

Do you want to be able to override the whole rendering with a call to theme()? Or something more subtle with CSS? Please be as specific as possible...

#2

al - April 4, 2003 - 03:12

No activity on this one for nearly a month.
CLOSING due to lack of specificity.

#3

res - April 15, 2003 - 19:21
Priority:» normal

Specifically I want to override the complete rendering, using theme().

#4

moshe weitzman - June 14, 2003 - 00:44
Component:Theme system» poll.module

virtually complete themeability now via CSS. reopen this case if more is needed.

#5

Anonymous - October 1, 2003 - 22:32

Automatically closed due to inactivity (marked fixed for 14 days).

#6

kps - October 7, 2004 - 03:32
Version:» 4.5.0-rc

I too would like to see poll results be themable. The CSS bar hack is cute, but not the only reasonable way to report poll results. Changes to do this are pretty trivial: just move the current hardcoded divs from poll_view_results() into theme functions. Patch attached.

AttachmentSize
poll.module.patch1.99 KB

#7

killes@www.drop.org - March 13, 2005 - 19:14
Version:4.5.0-rc»

Patch has wrong mime type.

#8

killes@www.drop.org - February 12, 2006 - 10:36
Status:active» fixed

fixed in cvs.

#9

Anonymous - February 26, 2006 - 10:45
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.