Support

Home Forums Events Calendar Add-on Calendar Output

Calendar Output

Posted: February 12, 2014 at 3:05 am


Liam

February 12, 2014 at 3:05 am

Hello,

I’m trying to figure out if there is a way to customise the calendar output. I know I can edit the CSS, but it would be great if I could edit the HTML as I would like to include some extra information in each event slot such as the number of available spaces. I know it’s available on the tooltip, but it would be more useful if it was printed on each event slot.

Is this possible?

Thanks!


Dean

February 12, 2014 at 6:17 am

Hi Liam,

The calendar is Javascript and based on the awesome Fullcalendar script http://arshaw.com/fullcalendar/

As such it takes our data and displays it on the calendar. To modify the set up you will need JavaScript skills as well as basic HTML and PHP. You will also have to modify a core calendar file, so updates will over write your changes.

Basically the data is there in the events.tooltips array but will need to be parsed out of the string, probably via regex.

We have a list of recommended developers here – https://eventespresso.com/developers/event-espresso-pros/


Liam

February 12, 2014 at 6:34 am

Thanks Dean,

I probably didn’t word my question accurately. I am a developer, I was just unsure if there was a way to modify the calendar without editing the core – I know you can edit some of the templates by moving them to /uploads/espresso/templates but there’s no calendar template.

I do agree fullcalendar.js is awesome and I’ve already modified it quite a lot using CSS and JavaScript.

I’ll take a look at the events.tooltips array.

Thanks,


Liam

February 12, 2014 at 6:50 am

It would be useful if you could edit the JavaScript files like you can with the CSS, so you first look in the /uploads/espresso/scripts folder for each plugin. I can make changes the core to do this, but it would be so much nicer if it was in a future update please 😉


Tony

  • Support Staff

February 12, 2014 at 1:03 pm

Hi Liam,

Thank you for the feedback, I’ll add these as a feature request ticket for a future version of the Calendar.


Liam

February 13, 2014 at 2:21 am

Thanks Tony, that would be really useful as the method I’m using now feels a bit hacky and would be much cleaner if you could inherit the JavaScript files located in the /uploads/espresso/scripts folder instead.


Dean

February 13, 2014 at 2:24 am

Ahhh I see, that’s fair and a good idea as we do get a lot of requests. Tony has already sent the request through for consideration.


Josh

  • Support Staff

June 5, 2014 at 1:51 pm

Hi Liam,

Have you tried dequeuing the scripts that Event Espresso includes and enqueueing your own scripts? This makes it possible to customize the JS and CSS without touching core.

The support post ‘Calendar Output’ 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