Support

Home Forums Event Espresso Premium Change columns in [ESPRESSO_MY_EVENTS]

Change columns in [ESPRESSO_MY_EVENTS]

Posted: March 30, 2020 at 2:24 pm


joost backaert

March 30, 2020 at 2:24 pm

Is it possible to remove the columns and only keep the title of the events?
And maybe a more difficult, add a column like date of the event?


Tony

  • Support Staff

March 31, 2020 at 4:32 am

Hi there,

It is possible to override the templates used by loading them from the root directory of your theme (preferably a child theme) so you can customize the output to suit.

However, EE already includes the Event date in the default output for My Events so I’m not sure I follow what you are trying to do.

Can you post a screenshot showing the output you would like to achieve?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


joost backaert

March 31, 2020 at 4:46 am

This reply has been marked as private.


Tony

  • Support Staff

March 31, 2020 at 5:22 am

Ok, so you are using the simple list table template, with this shortcode:

[ESPRESSO_MY_EVENTS template=simple_list_table]

Just to note there is another template included that can load with just:

[ESPRESSO_MY_EVENTS template=event_section]

Or as it’s the default template, you could leave the template parameter out completely.

The shortcode you are using now loads \eea-user-intergration\templates\loop-espresso_my_events-simple_list_table.template.php

You can copy that template to your theme’s root directory and make any changes you need to that template.

I already altered a bit but i’m stuck

What have you done so far?

here is a link with the normal shortcode

I can’t view that output without logging into the site.

how easy it it to let some columns out?

To add additional columns? Fairly simple if you are comfortable with PHP and HTML.

Adding a ‘date of event’ column will require you to pull the datetimes from the event and for that, you can use our model system:

https://github.com/eventespresso/event-espresso-core/blob/master/docs/G–Model-System/

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 1 month, 3 weeks ago ago

Topic Tags

Notifications

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