Support

Home Forums Event Espresso Premium Show every single event in Table View

Show every single event in Table View

Posted: September 4, 2017 at 11:27 am


Amanda

September 4, 2017 at 11:27 am

Hello,

I am using Table View add-on and I want to show my table exactly like this website does:
http://learnfirstaid.ca/courses/baby-and-child-cprsafety/#REGISTRATION

I know that they are using ee

But my table looks crappy compared to this and also does not list every single event or start/end times.
https://simplyfirstaid.ca/online-booking/
I’m currently using this shortcode: [ESPRESSO_EVENTS_TABLE_TEMPLATE show_all_datetimes=true order_by=start_date category_filter=false footable=false table_search=false table_sort=false category_filter=false]

Please help!


Tony

  • Support Staff

September 4, 2017 at 2:08 pm

Hi there,

Yes they are using Event Espresso, but they are actually using EE3 (although it doesn’t matter too much in this case)

That site is using a custom table view template they have created themselves to include additional details. If you are comfortable with HTML, CSS and PHP you can do the same with the EE4 table view template as it allows you to load custom templates from within your themes root directory.

https://eventespresso.com/wiki/events-table-view-template-add-on/#customizations

You can copy the original template within eea-events-table-view-template/templates/

Place that within your theme and then customize that template there to include whatever details you prefer.


Amanda

September 5, 2017 at 1:02 am

Where in the child theme do I copy the file to? Just the root child folder? Or does is also have to go into childFolder/eea-events-table-view-template/templates/
???

Thank you


Tony

  • Support Staff

September 5, 2017 at 1:43 am

In your child theme’s root directory will work fine.

Note that the default template is espresso-events-table-template.template.php

If you leave the filename the same in your child theme it will replace the template for every instance of that shortcode, you can also create additional templates with different names and call them for specific shortcode, for example:

[ESPRESSO_EVENTS_TABLE_TEMPLATE template_file=espresso-events-table-template-custom.template.php]

Would call a espresso-events-table-template-custom.template.php template.


Amanda

September 10, 2017 at 1:21 pm

Hi guys,

Well I’ve pretty much got the template that I want by using the code at github here:
https://gist.github.com/joshfeck/822763b36a371f7ec43e

BUT …. I want to get all of the possible events, not just for the current month. Are you able to help me find the section of code that is currently restricting this?

Thanks!


Josh

  • Support Staff

September 11, 2017 at 10:23 am

Hi Amanda,

There actually isn’t any code within the template that restricts which events get displayed. Can you try adding the following to the shortcode on the page editor:

show_expired=true

e.g.

[ESPRESSO_EVENTS_TABLE_TEMPLATE show_all_datetimes=true order_by=start_date category_filter=false footable=false table_search=false table_sort=false category_filter=false show_expired=true]

The support post ‘Show every single event in Table View’ 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