Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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! :)
Comment | File | Size | Author |
---|---|---|---|
#4 | date.inc | 67 KB | dodorama |
#3 | date_3.patch | 519 bytes | dodorama |
#2 | date_slip.png | 5.24 KB | dodorama |
Comments
Comment #1
KarenS CreditAttribution: KarenS commentedIs 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.
Comment #2
dodorama CreditAttribution: dodorama commentedthe 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.
Comment #3
dodorama CreditAttribution: dodorama commentedI 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.
Comment #4
dodorama CreditAttribution: dodorama commentedand 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.
Comment #5
KarenS CreditAttribution: KarenS commentedThanks dodazzi. That's just the kind of thing I tend to miss :-) I'll add to the next commit.
Comment #6
KarenS CreditAttribution: KarenS commentedFix committed to cvs. All recent changes to cvs will be ported to 4.7 in the next hour or so.
Comment #7
(not verified) CreditAttribution: commented