Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Color change on expired and full events | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Color change on expired and full events

Color change on expired and full events

Posted: October 18, 2013 at 6:05 am

Viewing 8 reply threads


Thomas Houghton

October 18, 2013 at 6:05 am

Hi I have 2 reoccurring events on my calendar here: http://revolutionbikepark.com.md-uk-1.webhostbox.net/book/

I’m looking to have the expired and full events to show in red (not in the tool tip) and open events to be green how would I go about doing this? Could do with the title of the events in the calender to take up the hole date area (if that makes sense)…

Also we have the option (question) on the booking page for people to book a “Lap Watch” but we would like to charge an additional £5 for this service, how would I go about doing this?

thank you in advance for your help.

Tom


Thomas Houghton

October 19, 2013 at 4:29 am

Hi can someone answer this please?


Dean

  • Support Staff

October 21, 2013 at 12:14 am

Hi Thomas,

Regarding the calendar, I would start by going to the calendar settings and set the “Use Color Pickers” option to yes and change the background colour to green.

Then I would add some css to the themes style.css file or via a plugin like My Custom CSS, to target the expired events.

#espresso_calendar .expired { background-color:red !important; }

Regarding the watch, I would suggest checking out the Price Modifier addon – http://staging.eventespresso.com/wiki/espresso-price-modifier/ – it looks like a good fit for your needs.


Thomas Houghton

November 1, 2013 at 6:37 am

Hi again – what would be the css for changing the color to red when the event is full – thank you for the above response it worked fine.

Cheers
Tom


Josh

November 1, 2013 at 9:59 am

Hi Thomas,

I checked on this and there isn’t a CSS only solution that will change the color of the event if it’s full. A class name would need to be added to the markup when the event is full before it could be changed with CSS.


Thomas Houghton

November 3, 2013 at 3:46 am

I don´t follow sorry (quite new to all this) how would I go about adding a class name? Thank you for your quick reply above.


Dean

  • Support Staff

November 4, 2013 at 2:30 am

Hi Thomas,

The short answer is that it would need some code changes to the plugin to be able to do this, which is beyond general support.

The next version of the calendar add on, will show a sold out message on the tool tip when an event is full, but it still will not allow the colour to be changed based on it being full, sorry about that.

I added a ticket to look into adding this but I cannot guarantee if or when that would happen.


Thomas Houghton

November 6, 2013 at 9:37 am

That’s a shame to hear. To go about it a different way is there anyway to set the event to expired when the attendee limit is reached?


Josh

November 6, 2013 at 5:14 pm

Hi Thomas,

There might be, but it would require re-programming the way Event Espresso handles sold out events, they don’t automatically expire until the event date has passed.

I can recommend checking out the upcoming release of the calendar that has the new tooltip that displays “Sold out” when the event is sold out. It’s available to download from the pre-release channel on your account page after you opt in by checking the pre-release channel opt-in box.

Viewing 8 reply threads

The support post ‘Color change on expired and full events’ 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 - Staging Server