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

CommentFileSizeAuthor
#6 poll.module.patch1.99 KBkps

Comments

al’s picture

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...

al’s picture

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

res’s picture

Priority: Major » Normal

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

moshe weitzman’s picture

Component: Theme system » poll.module

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

Anonymous’s picture

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

kps’s picture

Version: » 4.5.0-rc
StatusFileSize
new1.99 KB

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.

killes@www.drop.org’s picture

Version: 4.5.0-rc »

Patch has wrong mime type.

killes@www.drop.org’s picture

Status: Active » Fixed

fixed in cvs.

Anonymous’s picture

Status: Fixed » Closed (fixed)