Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Empty Times on Calendar View | Event Espresso - Staging Server

Support

Home Forums Calendar Empty Times on Calendar View

Empty Times on Calendar View

Posted: July 11, 2012 at 1:44 pm

Viewing 3 reply threads


rjones

July 11, 2012 at 1:44 pm

Empty times on the Calendar view show up as “-“. I’m sure the “-” is the little separator between the start and end times.

Any way to get blank times to NOT show anything while in Calendar view mode?


Josh

July 11, 2012 at 2:20 pm

Fill out the times for the event -or- set the calendar settings to not display times.


rjones

July 11, 2012 at 3:12 pm

> set the calendar settings to not display times

Yes – I can do that but the event doesn’t have a time (it’s all day) AND a much more elegant solution would be to do a check for a value and print ONLY if there is a value present.

I’ve dug in the code adjusted that feature.

Here is the quick solution I came up with:

Version: Expresso Calendar 2.0.1
File: wp-content\plugins\espresso-calendar.2.0.1\espresso-calendar.php
Line: 570
Code (Replace line 570 with the following code):
if(event.startTime != ”)
element.find(‘.fc-event-title’).after($jaer(” + event.startTime + ‘ – ‘ + event.endTime + ”));
else
element.find(‘.fc-event-title’).after($jaer(”));

Bolded code is the new code

Enjoy!


Chris Reynolds

  • Support Staff

July 11, 2012 at 3:33 pm

Thanks! I’ve created a ticket to adjust this in 2.0.4 of the calendar (2.0.3 is already done and live).

Viewing 3 reply threads

The support post ‘Empty Times on Calendar View’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso - Staging Server