Support

Home Forums Event Espresso Premium Custom template for Events Table not working

Custom template for Events Table not working

Posted: October 13, 2019 at 10:58 am


Daniel

October 13, 2019 at 10:58 am

Hello!

I have followed the documentation and cannot get a custom template for the events table to load.

Here is one thread that I used (there are several all giving the same instructions):
https://eventespresso.com/topic/changing-columns-in-the-table-template/

I copied the EE table template (espresso-events-table-template.template.php) from the table addon location to my child theme root directory.

Then, I used the shortcode to show the table in a page. I am able to see the table rendering just fine, but the customized file does not get used. Instead, I can confirm that the original EE template file is still used (I modified it temporarily to check).

I am also unable to get any override by creating a newly-named template file, putting it in the child theme root, and then using the template_file shortcode switch to tell the shortcode to use the new file. eg:
[ESPRESSO_EVENTS_TABLE_TEMPLATE template_file=espresso-events-table-template-custom.template.php]

Can you give me some tips for debugging this situation? It seems pretty straightforward – the instructions all say the same thing and other developers are able to do this.

Where should I look to figure out where it’s going wrong? Is it possible there is another setting that I need to make (or unmake) that will allow this table template addon override?

Thanks!


Tony

  • Support Staff

October 14, 2019 at 3:58 am

Hi there,

Looking at your site you don’t appear to be using a child-theme, it looks like you have a custom theme so you would add the template directly to that.

What is the full path for the template file you added?


Daniel

October 14, 2019 at 9:21 am

Hello! Yes, you are correct, I am using a custom “parent” theme without a child (I am creating my own theme). I now :blushes: realize that I was modifying files on my local server and testing the remote server – basically, forgot my workflow so the theme files I was “modifying” weren’t modified at all on the remote server. It’s working as advertised now. Thank you!


Tony

  • Support Staff

October 14, 2019 at 9:25 am

Sometimes it just takes fresh eyes 🙂

I’m glad you found the problem anyway, any further questions just let us know.


Daniel

October 14, 2019 at 9:36 am

Agreed. Cheers!

The support post ‘Custom template for Events Table not working’ 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.

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: closed

Updated by  Daniel 1 month ago ago

Topic Tags

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.