Hi,
I've been using Date Popup successfully.
Now it is not presenting the month and year select boxes.
See attached jpg file.
I recently installed JQuery update but am not sure if this caused the problem.
Thanks
Steve
PS: I installed 2.x-dev, ran update.php (none required), cleared caches, intstalled patch to clear the ""warning: date_format() expects parameter 1 to be DateTime..." error, etc.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | date_popup_cssupdate.patch | 966 bytes | acouch |
| #1 | DatePrompt.jpg | 23.01 KB | gtaylor |
Comments
Comment #1
gtaylor commentedWe just upgraded to 6.x 2.x along with several other modules. We somehow missed this in testing or something. The month is not displaying on the popup. But the year is. See attached pic
Comment #2
kento commentedSame thing happened here, you might want to try visiting admin/settings/date_popup and hit 'Save configuration' to get the right settings updated, it worked for me with the 'Date Popup default' option.
If you'd like to use the 'JQuery UI Default' option, this might interest you:
If you take a look at date_popup.module's (6.x-2.6) function date_popup_css_options() in my case using jquery.ui 1.7.3, the path for the 'JQuery UI Default' option isn't right for the default: case, it uses '/jquery.ui/themes/default/ui.datepicker.css' but that path isn't there, this one is: '/jquery.ui/themes/base/ui.datepicker.css' ... the error here is that in 1.6 the css really is in .../themes/default/... but in my 1.7.3 it isn't, having .../themes/base/... there instead.
Comment #3
ludo.rI have a similar issue.
The month and year select boxes dont show up.
I lloked in the source code using firebug, and they are not there.
How to activate them?
It is not very handy when entering a birth day like 1951-02-18, you have to click like 59*12 times to get the good month+year.
Im using jquery_update (jquery 1.3.2 and jquery ui 1.7.3)
Comment #4
sagannotcarl commentedI had the same issue updating from 6.x-2.5 to 6.x-2.6 (exact same as attachment in #1).
Resaving the date popup settings page as suggested in #2 fixed it for me too.
Thanks kento!
Comment #5
gtaylor commentedre-saving the date popup as suggested in #2 brought the month back. But for me the positioning of the popup made it completely inoperable. It was transparent and trying to select anything in the date popup seemed to get confused with actions on the main page. I had to turn off the date popup altogether.
My assumption is that we now have a style sheet issue and that's what we'll have to chase down next.
Comment #6
arlinsandbulte commented@gtaylor:
With date popup enabled, go to admin/settings/date_popup and try changing the "Datepicker css:" option.
Comment #7
jaydub commentedSee related (possibly duplicate) issues:
#898024: path to ui.datepicker.css incorrect when using jQuery UI 1.7+
#898324: Datepicker CSS
Comment #8
ludo.rIt is unfortunatley not a css problem, as the select fileds arent in the source code.
Comment #9
acouch commentedThe problem is that the 'date_popup_css_file' variable doesn't get added until the 'date_popup_settings' form is saved.
I've added a patch that sets this variable during the update. It takes the version checking from 'date_popup_css_options' and assumes the default which is better than checking around to figure out why the popup looks broken. The other thing to do would be to add in the documentation or release notes.
Comment #10
z3cka commented#2 fixed it for me. Will test patch from #9 on next installment of date feature on my next feature.
Comment #11
LSU_JBob commented#2 fixed it for me
Comment #12
d.cox commented#2 worked for me.
Comment #13
karens commentedLooks good, I added the update.
Comment #15
dwigglesworth commented'Save Configuration' comment #2 fixed it for me - thanks.
Comment #16
aquariumtap commentedI don't have time to work on the issue further, but #2 did not work for me, and I'm using jQuery Library 1.6. I added some CSS to manually move the month and year fields, which isn't a proper fix but it's enough to move me forward.
Comment #17
dale42I am also experiencing the year selector positioned over the month selector with the following:
Modules:
- Date 6.x-2.7
- jQuery UI 6.x-1.5
- jQuery Update 6.x-2.0-alpha1
Settings:
- Datepicker CSS: Date popup default
- Timepicker: Use default jquery time picker
Changing Datapicker CSS to "jQuery UI default" produces a picker with all elements visible but still not correctly laid out.
The CSS in #16 with "Date popup default" CSS selected works around the problem.