Support

Home Forums Event Espresso Premium How to show venue info using the Table shortcodes(Custom Files)

How to show venue info using the Table shortcodes(Custom Files)

Posted: November 12, 2013 at 9:32 pm


kstern

November 12, 2013 at 9:32 pm

Hi, We would like to show a table instead of a list of events in place of the [ESPRESSO_EVENTS] shortcode in the Events page. I’ve tried [ESPRESSO_TABLE] in our Custom Files addon, and they look like a great start. However, right now it just shows blank columns for the Location/City/State. I would like to show the Venue name, and city/state (this is all set up in the venue mgr). Can you tell me what changes I need to make to espresso_table.php to get the correct info to show up? For example, right now it looks like it’s trying to pull $event->city for the city column, but obviously that is not the venue city, as nothing shows in the table.
(is there a list of fields somewhere, as may also need to pull the event description)


Dean

November 12, 2013 at 11:21 pm

Hi,

The Espresso Tables shortcode is being revamped into a new shiny plugin with various different table templates, so if you are in no hurry it may be better to await that as it will save you some work.

If you need it quicker then you will need to modify the table template a bit, you could take a look at this table modification as an example https://gist.github.com/Apina/432c17ffa0c990912479

The support post ‘How to show venue info using the Table shortcodes(Custom Files)’ 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