Month / Year Dropdown Selector

Home Forums Calendar Products Events Calendar PRO Month / Year Dropdown Selector

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1193832
    Michael Magestro
    Participant

    I see this is deprecated, does that mean it no longer works? Im trying to include this into my calendar month view and nothing shows…

    #1194201
    Cliff
    Member

    Hi Michael.

    Could you please be more specific what exactly you’re asking about, possibly sharing a link to the file you’re referring to at our GitHub or an annotated screenshot?

    #1194589
    Michael Magestro
    Participant

    Im upgrading from a previous version and we used to have a drop down of months, you can see this here: http://ceebj.org/events/

    We have some code that calls for tribe_month_year_dropdowns but it doesnt work, we found this article however:

    https://theeventscalendar.com/function/tribe_month_year_dropdowns/

    #1194651
    Cliff
    Member

    Yes, that function is deprecated since v3.0, which was quite a while ago.

    This is what I’m used to seeing from the Tribe Bar: https://cl.ly/0v1W2v04393s (from our demo site: http://wpshindig.com/events/)

    The datepicker in that screenshot is from the bootstrap-datepicker script.

    How it’s configured depends on if we’re in month view, week view, etc., and all this happens during document.ready

    So, theoretically, at any point after that you could kill it or reconfigure it.

    $( '#tribe-bar-date' ).bootstrapDatepicker( 'remove' ) might do it but it must be run after we initialize the datepicker and not before.

    You could request this as a new feature (or maybe search to see if the idea was already posted by someone else) at our plugins’ UserVoice page — to have a non-deprecated drop-down function again. (Or you could just style the boostratp-datepicker to match your site.)

    This allows others who are interested in that feature to easily voice their support. We frequently review suggestions there to find out which ones are popular, then we implement as many of them as we can.

    If you post it / find it, feel free to link to it from here in case anyone comes across this forum thread in the future.

    #1204371
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Month / Year Dropdown Selector’ is closed to new replies.