• Resolved jlhiggs

    (@jlhiggs)


    Since updating to 6.4.4, the calendar view seems to be enforcing the the “small calendar” (only coloured circles are displayed on dates that have events, and in the markup, the calendar div has the “size-small size-fixed” CSS classes). I notice in this update, there’s mention of being able to set a fixed-size calendar, and I guess it’s defaulting to fixed small, however there doesn’t appear to be anywhere in the settings to actually change this: We don’t want a fixed calendar, but a responsive one, displaying the “full-size calendar” on wider screens, the way it was in the previous version.

Viewing 15 replies - 1 through 15 (of 23 total)
  • Following this thread because we also have this issue…

    i rolled back to 6.4.3 because of this issue.

    Yes, us too. Awaiting v6.4.5.

    I too have this problem. I am using the shortcode [events_calendar full=1] which should display (as was displaying before) the full calendar but the calendar displayed is the small version with no events showing, except on the popup.

    I can see by inspecting the code that the events are there but hidden by this css:

    .em.em-calendar.size-small .em-cal-body .em-cal-day .em-cal-event {
    display: none;
    }

    I have the same issue on two blogs. Looking forward for a fix or an tutorial how to get the old behaviour.

    Same issue here. I’m rolling back to 6.4.3

    Same issue here.

    Can I just check that to roll back all I need to do is install 6.4.3 after downloading it? No other changes or loss of work that I’ve done today? Thanks.

    This problem can be fixed by changing line 609 of wp-content/plugins/events-manager/classes/em-calendar.php from this:

    'calendar_size' => 'small',

    To this:

    // 'calendar_size' => 'small',

    It was setting the default size to small and after this change it won’t set a default size. This change will be overwritten when a new version of Events Manager is released but hopefully this will be fixed in the next version.

    In my case, I could fix the issue by adding the calendar_size parameter to the shortcode, I use.

    [events_calendar full=1 long_events=1 calendar_size=large]

    The problem with that solution is that you get a large calendar even on mobile devices. Fixing it using my method returns it to the old behavior where it was responsive (large on a big screen, small on a small screen).

    This is true @joneiseman. For me, the large view is more important. The responsive view is not nice, but usable. So I’m waiting for an official fix without changing the code.

    The problem is still not fixed in EM version 6.4.5.

    Is there a timeline for resolving this? Same issue here.

    I hope the plugin author reads this forum and will fix this problem. Meanwhile, I fixed it by modifying the plugin file.

    Not sure if they’re going to bring back the old responsive behavior back or not at this point.

    If you want to default all calendars to the “large” view by default you can do it with a filter instead of editing the plugin directly:

    add_filter( 'em_calendar_get_default_search', function( $atts, $array, $defaults ) {
    	$atts['calendar_size'] = 'large';
    	
    	return $atts;
    }, 10, 3 );
Viewing 15 replies - 1 through 15 (of 23 total)
  • You must be logged in to reply to this topic.