Support

Home Forums Events Calendar Add-on Remove the "all-day" and turn time in 24h in Calendar (2)

Remove the "all-day" and turn time in 24h in Calendar (2)

Posted: September 6, 2015 at 11:36 am

Viewing 3 reply threads


Aurelien Jondeau

September 6, 2015 at 11:36 am

Hi,

I’ve just upgraded from EE3 to EE4 and the code you had provided me on the following tickets doesn’t work anymore:
https://eventespresso.com/topic/remove-the-all-day-and-turn-time-in-24h-in-calendar-suite/

How do I change the wording “all day” to something else and turn the time on the sidebar of the calendar in week and day views to a 24h model?

Thank you,

  • This topic was modified 9 years, 3 months ago by Tony.
  • This topic was modified 4 years, 9 months ago by Garth.


Tony

  • Support Staff

September 8, 2015 at 4:50 am

Hi Aurelien,

That code does work its just in a different place with EE4 ๐Ÿ™‚

With EE4 you’ll need to go to:

\ee4-events-calendar\scripts\espresso_calendar.js

Line 31 will have

$('#espresso_calendar').fullCalendar({

Just under that add the code you used previously and it should work as expected.

We do not recommend modifying core like this but I can’t see any easier options currently, I have created a ticket to see if we can include within the calendar settings.


Aurelien Jondeau

September 15, 2015 at 3:23 pm

Great, it works!

Thank you,


Tony

  • Support Staff

September 16, 2015 at 1:59 am

You’re most welcome.

I’ll mark this thread resolved, have a great day ๐Ÿ™‚

Viewing 3 reply threads

The support post ‘Remove the "all-day" and turn time in 24h in Calendar (2)’ 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