Mini Calendar Widget Default Events

Home Forums Calendar Products Events Calendar PRO Mini Calendar Widget Default Events

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1067751
    Patrick Sasser
    Participant

    Hello Hello,

    I’m trying to get some different functionality out of the Mini Calendar Widget. When the calendar first loads I want it to display only events for today or even the closest upcoming date. I found this forum https://theeventscalendar.com/support/forums/topic/change-the-default-view-for-the-calendar-widget-from-month-to-today/ and I added the code in the solution at the bottom and it is working just fine for the initial load. This code isn’t in effect now. So it will load the next 10 events when the page initially loads.

    However I would love to add a similar functionality when you click on the arrow to advance it to the next month. As you can see when you click on the arrow for the next or the previous month it loads up the next twenty events as I have it set to show 10 events.

    The whole reason that I’m doing this is because I initially had it set to display 5 events and this is acceptable except when the date has more than 5 events. So another solution would be for it to only show 5 events on initial load and when you click on the arrows and then show all the events when you click on a specific date.

    Here’s a link to the mini calendar in action
    http://www.thecrossingchurch.com/events/

    Thanks much.

    Any help would be much appreciated.

    #1068281
    Brian
    Member

    Hi,

    Thanks for using our plugin. I can try to help out here, but we are limited in supporting customizations per our terms and conditions.

    I think if you could rerun the script after the ajax loads the new calendar that might work.

    You could try hooking into ajaxComplete() to run the script again:

    ajaxComplete event

    I do not have much else to provide on this unfortunately.

    But can try to answer a couple more questions.

    Thanks

    #1080735
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Mini Calendar Widget Default Events’ is closed to new replies.