Support

Home Forums Events Calendar Add-on How to change color of event displayed on calendar based on Attendee Limit?

How to change color of event displayed on calendar based on Attendee Limit?

Posted: August 3, 2012 at 8:45 pm


mobileapptraining

August 3, 2012 at 8:45 pm

I have a requirement to change the color of events displayed on the event calendar (plug-in) based on Attendee Limit. If the attendee limit is reached, then the event on the calendar should display in red for example.

I can do the color change by jQuery, as long as there is some text, class, or other indicator in the calendar HTML, and the specific event entry on the calendar that shows the event is ‘full’.

Adding a class to a full event on the calendar would be the best solution, I do not know how to begin to implement. Any help is much appreciated.

-Matt


Josh

  • Support Staff

August 6, 2012 at 10:22 am

Hi Matt,

There’s a category CSS class in Event Espresso that’s built into the calendar. So this could be done manually by updating the event to be assigned to a ‘full’ category. Beyond that, it would require some custom development of the calendar add-on to query the database for full events and add the class automatically.

Since we do not typically offer help with adding new features to Event Espresso in the forums, I can point you in the direction of our customization service: http://eventespresso.com/contact/customization-request-form/

The support post ‘How to change color of event displayed on calendar based on Attendee Limit?’ 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.

Status: closed

Updated by  Josh 6 years, 10 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!