Support

Home Forums Pre-Sales Event List Template Settings Not Affecting Display

Event List Template Settings Not Affecting Display

Posted: September 8, 2016 at 1:11 pm


tpd

September 8, 2016 at 1:11 pm

Hi – I have a demo site up in order to see if your software will work for the project I’m quoting. I want the event list to display the date and time of the event, but changing the settings at Dashboard > Event Espresso > Events > Templates has no effect. http://demoee.org/tpdevdemo/events/


Tony

  • Support Staff

September 9, 2016 at 6:03 am

Hi there,

The reason that was happening was the site was set to use the Arabica theme which completely takes over the output for the event details (including the event list) and prevents you from changing the output.

I switched the site to use twentyfifteen, if you check the event list now it should work fine.

If you have any questions please do let us know.


tpd

September 10, 2016 at 10:05 am

Ok – Is it just the Arabica theme, or if I install EE on a site with an existing custom template might I run into the same problem?

Thanks,
Troy


Tony

  • Support Staff

September 10, 2016 at 1:11 pm

It happens specifically with that theme, I’ll explain.

EE injects all of the event details by filtering the_content() automatically, however some users may want to completely take over how the details are output. So if EE detects an archive-espresso_events.php template is in use (archive.php, and therefor archive-espresso_events.php are use for your event list) then it doesn’t automatically inject the event details and leave the theme to do whatever it wants to do.

Arabica uses the above templates so EE doesn’t dynamically inject the details, Arabica does but they are exactly the same as the ‘default’ output from EE. So when you changed the template settings you didn’t see the changes because the theme controlled all of the output.

We have filters in place to enable the dynamic ordering again even if using the above templates if needed. This allows you to say remove the sidebar from the default single.php template by creating a copy of that template, renaming it to single-espresso_events.php and removing the side bar, then use the filter to enable the features again.

Does that all make sense?

We have removed the theme from the demo site to save causing more confusion in the future.

I install EE on a site with an existing custom template might I run into the same problem?

You shouldn’t have any problems as long as the theme is following WP standard/best practices. It is possible to have problems with themes doing something unexpected with the_content() but it all depends on what it is, for the majority of themes you should not have any issues.


tpd

September 10, 2016 at 5:55 pm

Thanks for the detailed explanation. Yes that makes sense.

The support post ‘Event List Template Settings Not Affecting Display’ 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