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

zeropaper’s picture

Hi,

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" ;)

j0nathan’s picture

Title: no .date-picker-formatter-* classes » provide .date-picker-formatter-yes and .date-picker-formatter-no classes
Category: support » feature

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

zeropaper’s picture

Ok, 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

JohnnyX’s picture

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

thepanz’s picture

Hi, give an eye to #715624-9: Counting the votes? for this and other fixes..

thepanz’s picture

Version: » 6.x-2.x-dev
Assigned: Unassigned » thepanz
Status: Active » Fixed

I'm proud to announce that the new 2.x branch is ready for testing with this feature (and other).. feedbacks are welcome!

zeropaper’s picture

It looks good to me, thanks for the work!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.