6

I have a calendar being shown by month. How can I add an exposed filter or dropdown so users can jump ahead to any month and year?

  • Each month display has a predictable URL, eg: May 2016 might be domain.org/16/05/. Can you use a menu to just take them to the relevant URL? – R. Durham Mar 17 '16 at 20:10
  • What have you already tried? Views, Date, and BEF provide some of this ability out of the box (one solution here: drupal.org/node/2481343). – acrosman May 3 '16 at 18:48
1

Add Below code for your calendar. Click This link for example

$(function () {
  $("#datepicker").datepicker({
    changeMonth: true,
    changeYear: true
 });
});

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.