Support

Home Forums Events Calendar Add-on Calendar disappear when enable date in calendar

Calendar disappear when enable date in calendar

Posted: September 24, 2013 at 10:24 am


Martin Casteres

September 24, 2013 at 10:24 am

Hye !
I have wordpress V 3.5.1, Event Espresso V 3.1.34.1.P and Event Calendar Add-on V2.0.6.2
I had the time option in calendar disable but in my calendar’s tooltip i have “undefined” instead of the button “Register”.
After reading some topics on this, I make the time in calendar enable but then the calendar simply disappear…
Can you help ?


Sidney Harrell

September 24, 2013 at 4:56 pm

Try changing lines 381 and 382 of espresso-calendar.php from

$eventArray['start'] = date("c", strtotime($event->start_date . ' ' . event_date_display($event->start_time, get_option('time_format'))));
		$eventArray['end'] = date("c", strtotime($event->end_date . ' ' . event_date_display($event->end_time, get_option('time_format'))));

to

$eventArray['start'] = date("c", strtotime($event->start_date . ' ' . event_date_display($event->start_time, 'H:i')));
		$eventArray['end'] = date("c", strtotime($event->end_date . ' ' . event_date_display($event->end_time, 'H:i')));


Josh

  • Support Staff

September 24, 2013 at 5:12 pm

Can you try setting the WP settings to display a different time format?


Martin Casteres

October 1, 2013 at 2:02 am

Hye guys !
Thank you Josh and Sidney for your solutions… but :
I tried different time format in the WP setting but all my events disappear…
So I’ve tried to change espresso-calendar.php but nothing happened. The tooltip’s button is still “undefined”.

I’ve noticed that in my WP setting, the time zone is ok (french zone = UTC+2), but in the Event-espresso settings, i have 2 hours before… I didn’t success in solving this… Is it the problem ?

(sorry for my english…)
However, your work on this plug-in is really cool ! Thank you so much !


Sidney Harrell

October 1, 2013 at 10:30 am

Can you provide a link to the calendar page?


Martin Casteres

October 1, 2013 at 12:31 pm

Here’s the link to the calendar page :
http://www.preprod.cafetheatre-chartrons.fr/calendrier/


Josh

  • Support Staff

October 1, 2013 at 1:18 pm

With the French translation of WordPress loaded up you will need to change the time format (not time zone) to something other than 12 h 34 min. Here is a screenshot that displays the time format settings in French:


Martin Casteres

October 4, 2013 at 5:17 am

Well… My French wordpress time format is already on this setting : H:i
Here are my différent settings :
On the WP basic settings :

On the Event Espresso General parameter :

The time should be 13:04…

And my Calendar settings for the tooltip :

Then all my events disapear…


Martin Casteres

October 4, 2013 at 5:20 am

Sorry, my images didn’t show up…
WP general param
Event-Espresso General param
Calendar param


Dean

October 4, 2013 at 5:29 am

Sorry we didnt receive the full message from you. Please can you try again. If it is images I would advise using an image hosting service.


Martin Casteres

October 7, 2013 at 1:18 am

Here are my different settings (WP / Event Espresso / Calendar) :
https://www.evernote.com/shard/s300/sh/0617987f-0241-443b-a698-229eb2487114/673242de007aff06a98b0f931e093b04


Dean

October 7, 2013 at 4:58 am

The only thing I can see that looks out of place, is the Time Zone, it may be worth changing that, from UTC+2 to your closest city, e.g. Paris.


Martin Casteres

October 7, 2013 at 6:33 am

My time zone is now set to “Paris”. Noticed that the time Zone in EE is now good as well ! Great !
But my problem is still remaining :
– Time in Calendar’s tooltip set to “No” : Tooltip’s button is “undefined”
– Time set to “Yes” : Calendar simply disappear…


Dean

October 8, 2013 at 1:30 am

Thanks,

I think I know the issue, at least for the disappearing calendar. The S’inscrire maintenant isn’t being escaped, so the apostrophe is causing it to break.

The latest Beta release of the calendar fixes this and the undefined issue, so you could either use that or await its formal release (no timescale as yet).


Martin Casteres

October 8, 2013 at 3:10 am

Ho ho ho !! Dean, you’re the master !
I was having headaches with that… 😉
Thank you !

The support post ‘Calendar disappear when enable date in calendar’ 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