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.”
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.
Support forum for Event Espresso 3 and Event Espresso 4.