Support

Home Forums Event Espresso Premium Event category view

Event category view

Posted: August 9, 2017 at 1:26 am


AlphaStar

August 9, 2017 at 1:26 am

Hello,

The theme I am using gives a style to the event category pages as in https://alphastar.academy/event-category/cs201/. How can I break this styling and format the view as in Table View Template.

It is also for the default events page https://alphastar.academy/events/.

Thanks in advance.


AlphaStar

August 9, 2017 at 1:55 am

I put the espresso-events-table-template.template.php file to the child theme folder and renamed it to archive-espresso_events.php. It is working.

I will contact you with further problems.

Thanks…


AlphaStar

August 9, 2017 at 2:09 am

I replaced the espresso-events-table-template-toggle.template.php as archive-espresso_events.php.

But it does not look like the one in the http://eventespresso.com/wp-content/uploads/2014/07/ee4-events-table-toggle-expanded.jpg

Also the filter on the top is not working.

Thanks.


Tony

  • Support Staff

August 9, 2017 at 3:05 am

Hi there,

Those templates are not intended to be uses as page templates.

espresso-events-table-template-toggle.template.php is a template from the Table view template and is expected to be called from a shortcode (which calls the assets needed for that shortcode such as the JavaScript files for the filters).

The image you linked to is a different template from the same add-on, it’s the ‘toggle’ template – espresso-events-table-template-toggle.template.php

However, again, that’s expected to be called through a shortcode to add its assets to the page. If you are going to use those templates as direct page templates your going to need to call the assests on the page yourself.

Take a look within EES_Espresso_Events_Table_Template.shortcode.php and you’ll see how the add-on manages the CSS and JS files within there, you going to need to load those when needed on that page.


AlphaStar

August 10, 2017 at 12:46 am

Thanks, in that case I cannot use it. Back to my top question then:

The theme I am using gives a style to the event category pages as in https://alphastar.academy/event-category/cs201/. How can I break this styling.
It is also for the default events page https://alphastar.academy/events/.

Thanks in advance.


Tony

  • Support Staff

August 10, 2017 at 3:03 am

The same way you did above, only archive-espresso_events.php will be the output you prefer rather than a copy of the table view template.

You can use the table view template as a base to build your own output but there is going to be more involved than just renaming the template as mentioned above.

The support post ‘Event category 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.

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  Tony 1 year, 10 months ago ago

Topic Tags

Notifications

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