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.
Hi,
I created a view with better expose filters, in that views i want date popup value type.
how can i get date popup in view expose..
Comments
Comment #1
mikeker CreditAttribution: mikeker commentedTo get the date popup option, you need to expose a date field and select the jQuery UI datepicker option.
If you have an exposed date filter and are not seeing the datepicker option, please attache an export of the view in question -- or, ideally, a stripped down version of the view that highlights the problem.
Thanks.
Comment #2
mikeker CreditAttribution: mikeker commentedComment #3
quasi CreditAttribution: quasi commentedAlso check that you have Date Views checked in the Modules list.
Comment #4
sbrattla CreditAttribution: sbrattla commentedCould it be an idea to require the 'Date Views' module to be enabled before the 'JQuery UI DatePicker' option appears in the view configuration?
Comment #5
mikeker CreditAttribution: mikeker commented@sbrattla -- thanks for pointing that out. I'll look into it.
Comment #6
ralva83638 CreditAttribution: ralva83638 commentedNote, the popup does not work if filtering on the content post date, or update date. Only on date fields.
Comment #7
nandotinoco CreditAttribution: nandotinoco commented#6 above is right for me. I've explained it further here
Comment #8
mikeker CreditAttribution: mikeker commented@#6/#7: That's not correct. If you have BEF enabled and expose a "core" date field (eg: Post Date), you'll have the option to use the jQuery UI Datepicker. Note that the text field still appears in the exposed filter -- the datepicker appears when you click on the textfield. This allows someone to manually enter a date or choose from the datepicker.
@#4: I'm punting on this for the time being. This should be a requirement in the Date module that you cannot expose Date filters (or even add them to a view) without the Date Views module being enabled.
Comment #9
mikeker CreditAttribution: mikeker commentedWhoops... Wrong status
Comment #10
mikeker CreditAttribution: mikeker commentedSee also: #1398674: Notice: Uninitialized string offset: 0 in date_views_filter_handler_simple->date_default_value() (line 64 .
Comment #11
donpwinston CreditAttribution: donpwinston commentedGood grief. Why the hell not? (A date is a date except in Drupal)
Comment #12
ashii CreditAttribution: ashii commentedThis might help you Click here
Comment #13
SGhosh CreditAttribution: SGhosh commented@ashii, thank you so much. That was exactly what I needed.
#for drupal core fields like created and posted for both nodes and users
Comment #14
Tharick CreditAttribution: Tharick commentedHi Folks,
In my case, I have a pop up calendar in my exposed filter, but is should "Highlighted Dates" only has content.
Ex, If I had select the Feb 26, 2015 in my content article, so my landing view page exposed pop up filter should highlights the Feb 26, 2015.
Is it possible in drupal 7? Can anyone help me out in this case?
Thanks in advance.
Comment #15
francescosciamanna CreditAttribution: francescosciamanna commented@#3, Thank you for advice! I was working for hours in a new site and cannot activate date popup: I have completely forgot to activate data views!