Support

Home Forums Event Espresso Premium Table View Addon Message when table is empty

Table View Addon Message when table is empty

Posted: May 11, 2018 at 2:50 pm

Viewing 1 reply thread


Drio LLC

May 11, 2018 at 2:50 pm

So I have added a table for a category that is currently empty, but won’t be empty forever, as courses offered will be added as needed. So when I add the table view with that particular category and there are no upcoming courses, nothing shows. Is there an option to show a generic message? Like “There are now upcoming events scheduled.”


Josh

  • Support Staff

May 11, 2018 at 7:55 pm

You can add a message when no events by making an edit to the table view add-on’s template (the default template’s name is espresso-events-table-template.template.php). Near the end of the template, after the else statement, you’ll see this:

espresso_get_template_part( 'content', 'none' );

and you can replace with something like this:

echo '<div><p>There are no upcoming events scheduled.</p></div>';

Viewing 1 reply thread

The support post ‘Table View Addon Message when table is empty’ 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