Closed (fixed)
Project:
Date picker formatter
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
24 Jun 2010 at 11:58 UTC
Updated:
28 Nov 2010 at 11:10 UTC
Hi,
I'm trying this module and it seems very interesting for what I want to do.
Actually I'm looking to change some colors into the CSS, but I don't have the classes .date-picker-formatter-* into the HTML source code:
<td class="answer">
<img src="/sites/all/modules/date_picker_formatter/images/emblem-unreadable.png" alt="Can not" title="Can not" width="16" height="16" />
</td>
<td class="answer">
<img src="/sites/all/modules/date_picker_formatter/images/emblem-favorite.png" alt="OK" title="OK" width="16" height="16" />
</td>
So I am not able to set the cell's background color depending of the answer, and I don't think the colors from the file date_picker_formatter.css are applied because the cells are gray like other pages in the theme. The theme is Zen Classic. I don't know if the theme is for something, I would at least expect the class into the HTML.
Thanks for your help.
Comments
Comment #1
zeropaperHi,
you should look the theme_date_picker_formatter_form() function (and all other theming functions ;) ), if you specifically need additional classes at one place.
It might be a little hardcore... but.. "no challenge, no fun" ;)
Comment #2
j0nathan commentedHi zeropaper,
I passed a couple of hours trying to put the classes to be able to change the background color of the cells depending of the answer, but I was not able at all. Because I am not a developer nor a themer, the challenge is to hard for me. At least I tried, and I am now comfortable to change my support request to a feature request. As I understand, someone somewhere did it if there is a trace about this in the CSS file coming with the module.
Thank you for your help.
Comment #3
zeropaperOk, I'll see what I can do.
But I can not do it right now (too busy with other things)...
I plan to make an OpenAtrium Feature with that module, improve the widget and such... so I'll keep your request in mind.
All the best,
Valentin
Comment #4
JohnnyX commentedHello zeropaper,
changing background with css would be really great. Grey and darker grey isn't a good choice I think. If you can add classes to Vote labels it is simple to style. Maybe add a column css-class to "Vote labels" administration?
Could looks like "100|Yes|answer-yes"
or combine the class "answer-" with the label from administration like "answer-Yes"?
Do you also think about a summary like Doodle and Drupal makemeeting module? After Users voted you can see results and best date.
Comment #5
thepanz commentedHi, give an eye to #715624-9: Counting the votes? for this and other fixes..
Comment #6
thepanz commentedI'm proud to announce that the new 2.x branch is ready for testing with this feature (and other).. feedbacks are welcome!
Comment #7
zeropaperIt looks good to me, thanks for the work!