Support

Home Forums Events Calendar Add-on EE Calendar – have Sold Out events still link to registration page

EE Calendar – have Sold Out events still link to registration page

Posted: August 2, 2017 at 3:24 am

Viewing 5 reply threads


Linda Isarasakdi

August 2, 2017 at 3:24 am

Looking forward to the Wait List function that’s on your Road Map, but in the mean time we’d like to implement your temporary measure of using a third-party contact form to gather names.

However, we use your Calendar add-on as our means of showing events, and the default behaviour for Sold Out events in the Tooltip is to remove the link to the event registration page.

But we need people to be able to click through to the registration page in order to see the Wait List form.

I’ve found the code for the tooltip_html in EED_Espresso_Calendar.module.php where I could force Sold Out events to have a link, but I don’t want to modify core files.

Is there a way for me to copy this file – as one does with templates – and put it somewhere that will override the core file?


Tony

  • Support Staff

August 2, 2017 at 4:03 am

Hi there,

It’s not possible to override modules in the same way you can templates, however, I can request a filter is added to that calendar that can be used for this or if you would like to add one yourself and submit a pull request that will likely be quicker for you.

We have some documentation on how our hooks are formatted here:

https://github.com/eventespresso/event-espresso-core/blob/master/docs/A–Best-Practices/ee-actions-and-filters.md


Linda Isarasakdi

August 3, 2017 at 9:49 am

If you could request a filter from your end, Tony, that would be super.

Took a look at GitHub and realized I was out of my depth for submitting a pull request 🙂


Tony

  • Support Staff

August 4, 2017 at 5:15 am

No problem, I’ve created a feature request ticket.

The ticket will be reviewed by one of our developers and possibly included within the next release of the calendar.


Linda Isarasakdi

August 10, 2017 at 5:30 pm

Thanks so much, Tony – I’ve got some code running in the meantime.


Tony

  • Support Staff

August 22, 2017 at 9:07 am

Hi there,

An update was just released for the calendar which includes a filter for the Register now button HTML, that will allow you to return your own button HTML when events are sold out.

There is an example of how to do that here:

https://eventespresso.com/wiki/events-calendar-add-on/#ee4customizations-button-html

Viewing 5 reply threads

The support post ‘EE Calendar – have Sold Out events still link to registration page’ 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