I have installed and am using the Custom Files plugin for a list type page using [ESPRESSO_TABLE] seen here: http://utrip.pickorange.com/event-list/ I copied most of the same code into event_list_display.php, but for every event, the loop creates a new table with every event in it. example: http://utrip.pickorange.com/event/ I know why it’s doing this, but have no idea what code changes would fix it. Basically, I’d love for my [ESPRESSO_EVENTS] page to look exactly like my [ESPRESSO_TABLE] page. This is also affecting my venue list (seen here: http://utrip.pickorange.com/venues/) in which I’ve added [ESPRESSO_VENUE_EVENTS id=1 show_image=false] to the description of each venue to display a list of all events at that venue. This shortcode apparently uses event_list_display.php as well. I tried taking the For Each out, but then I get duplicate THEAD for each row. Please help!
This topic was modified 11 years, 11 months ago by nickelmedia. Reason: added THEAD
The template code in the table templates are not interchangeable with event_list.php and event_list_display.php.
I can suggest two possible solutions for you:
1) You can hide the [ESPRESSSO_EVENTS] page from the site navigation menu so the event list view will not displayed as on option from the sites nav menu. Then you can use a page with the [ESPRESSO_TABLE] shortcode to display the events. Please be sure to keep that page published, because [ESPRESSO_EVENTS] also handles the registration, confirmation, and payment pages.
2) If you really want to convert event_list.php and event_list_display.php to display a table, you can change the HTML markup to use a table format instead of the default div + paragraph layout that it uses. Please note: If you customize and change the template code from the defaults we’ve created and tested, it becomes your job to maintain it. So in this case, we can’t provide detailed support for code customizations.
Viewing 1 reply thread
The support post ‘Having an issue making a Table for [ESPRESSO_EVENTS]’ 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 the Custom Files add-on for EE3.