Support

Home Forums Event Espresso Premium Events List not updating

Events List not updating

Posted: May 6, 2020 at 4:00 pm


web@the-collaborative.net

May 6, 2020 at 4:00 pm

I’ve made some adjustments in Events > Templates > Event List Pages

However, these adjustments aren’t showing up when I use the [ESPRESSO_EVENTS] shortcode.

Am I misunderstanding how this should work?


Tony

  • Support Staff

May 7, 2020 at 4:46 am

Hi there,

What adjustments have you made to that section? They should be applied to the ESPRESSO_EVENTS shortcode.

Do you have any caching enabled on the site? If so try emptying the caching as the page you have the shortcode on may be stale.


web@the-collaborative.net

May 7, 2020 at 9:44 pm

Just basic changes, for example: yes to showing datetimes. Nothing custom – just the basic options there.

I’ve cleared the cache as well, and it looks like it’s still not showing the datetimes.


Tony

  • Support Staff

May 8, 2020 at 3:13 am

Can you link me to the page In question so I can take a look?


web@the-collaborative.net

May 8, 2020 at 10:16 am

Sure! On this page, the event list is below the calendar view:
https://the-collaborative.net/calendar-2/

And then here’s the basic events page: https://the-collaborative.net/events/

Neither one of these is showing what I expected. Here’s a screenshot of the templates page: https://share.getcloudapp.com/WnuGZREq


Tony

  • Support Staff

May 8, 2020 at 10:55 am

The event list from ESPRESSO_EVENTS looks correct, although there are additional fields from Event_Custom_Fields which I assume is something you have set?

So the calendar-2 page matches your event listing.

Status banner displays.
Short description (excerpt will be used if you have one set, or one will be auto generated).
No ticket selector.
Datetimes are displaying.
No venue details.
Expired events will show in the list.
You’ve set a custom order.

The additional details as mentioned.

May I ask, what are you expecting to be different there?

And then here’s the basic events page: https://the-collaborative.net/events/

The output on that page is controlled by your theme and most likely it simply calls the post title and excerpt directly on archive outputs. EE hooks into the_content to output the additional details so if the theme does the above none of the custom details are added.

For Divi you’ll need to enable ‘blog mode’ in the theme setting for the archives to function how you expect.


web@the-collaborative.net

May 8, 2020 at 11:04 am

Got it. This is really helpful.

I think it’s the custom fields that are throwing me off here.

Is there a way to limit the amount of characters it shows in the list?


web@the-collaborative.net

May 8, 2020 at 11:17 am

I found this snippet to limit characters https://gist.github.com/joshfeck/4bfdcaad62671a65583bac52df8e32eb

Is it possible to hide the custom fields on the excerpts only?


web@the-collaborative.net

May 8, 2020 at 11:26 am

And on a similar note… Is it possible to limit the excerpt in the grid version as well?


Tony

  • Support Staff

May 8, 2020 at 11:36 am

Is there a way to limit the amount of characters it shows in the list?

Including the custom fields? You’ll need to check however those are being added to the content as they aren’t from EE by default.

For the default EE output, sure:

https://gist.github.com/joshfeck/4bfdcaad62671a65583bac52df8e32eb


web@the-collaborative.net

May 8, 2020 at 12:02 pm

Thanks Tony. I found that snippet earlier, but it’s not only limiting what’s in the WYSIWYG editor, not the custom fields. I think I’ll try targeting it with CSS to hide it.

Is there a way to limit characters on the grid view?


Tony

  • Support Staff

May 8, 2020 at 12:49 pm

Thanks Tony. I found that snippet earlier, but it’s not only limiting what’s in the WYSIWYG editor, not the custom fields.

Those custom fields are not being added by Event Espresso itself, so whatever is adding them will need to set the limit.

Is there a way to limit characters on the grid view?

Have you manually added the excerpt yourself? We don’t display the excerpt on the grid view.


web@the-collaborative.net

May 8, 2020 at 5:07 pm

Thanks Tony. I was able to target it with CSS and hide it, so we’re set there.

Have you manually added the excerpt yourself? We don’t display the excerpt on the grid view.

No. I haven’t added the excerpt. Just hoping to keep the longer default tool-tip hovers a little shorter.


Tony

  • Support Staff

May 9, 2020 at 3:30 pm

Oh, so you mean the calendar view and not grid?

We have both so by Grid view I assume you meant this add-on:

https://eventespresso.com/product/eea-events-grid-view-template/

Or is the calendar?

https://eventespresso.com/product/ee4-events-calendar/


web@the-collaborative.net

May 9, 2020 at 11:35 pm

Oh! Yes, sorry for the confusion. I’m using the Calendar, this one: https://eventespresso.com/product/ee4-events-calendar/


Tony

  • Support Staff

May 11, 2020 at 10:11 am

Ok, I follow now.

So by default you have a couple of options, you can either add an excerpt to your events which will then be used on the tooltip or you can add a Read More tag to your full content and EE will stop there.

If you don’t want to do that for each event there is a filter on the description FHEE__EE_Datetime_In_Calendar__to_array_for_json__description, however you’ll need a custom function to adjust the length of the content to suit.


web@the-collaborative.net

May 14, 2020 at 1:54 pm

Great. Thanks so much!


Tony

  • Support Staff

May 15, 2020 at 4:25 am

You’re most welcome 🙂

The support post ‘Events List not updating’ 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