Hello

When I made a date field for a birthday, I had the options of day/month/year (in that order) selected and set to display that way. In the form, it comes up in this nice little container saying "birthdate", but only the day drop down list is in the container. The month and the year appear nicely inline under said container. It looks very odd :)

I haven't yet found a way to hack it into submission but am working on it. If you have time to knock me on the head and set me straight on this, would be much appreciated.

thanks! :)

CommentFileSizeAuthor
#4 date.inc67 KBdodorama
#3 date_3.patch519 bytesdodorama
#2 date_slip.png5.24 KBdodorama
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

KarenS’s picture

Is this in the 4.7 version or cvs version of the date module? I am making a number of changes to both that affect the selector and there may be some formatting problems during the transition. I'm checking on your version because they are different and I need to be sure which you are using.

dodorama’s picture

FileSize
5.24 KB

the problem is that the date-clearing div is just after the first drop down selector (day selector in my case) and not after all the selectors (as it should be to proper clear the container div). I'm trying to figure out why this happens. Hope to post a solution soon.
In the meanwhile I attach a screenshot of waht happens in Safari and Firefox Mac.

dodorama’s picture

FileSize
519 bytes

I think I found the solution.
The problem was a missing weight value on the markup form where the clearing div was defined.
I attach a patch that simply add this weight value.
it seems to work for me.

dodorama’s picture

FileSize
67 KB

and for people who don't know how to apply the patch here's the file to substitute inside the date module folder on your modules directory.

KarenS’s picture

Thanks dodazzi. That's just the kind of thing I tend to miss :-) I'll add to the next commit.

KarenS’s picture

Status: Active » Fixed

Fix committed to cvs. All recent changes to cvs will be ported to 4.7 in the next hour or so.

Anonymous’s picture

Status: Fixed » Closed (fixed)