I’ve managed to customise the table layout but I need to display the prices for the events and event’s category name in the table header.
I can’t find the “event price” and the “category name” variables to display them into the table layout.
this is what I did:
td class="td-group">
<?php echo $event->event_cost ?> //this is not working
</td>
<td class="td-group">
<?php echo $open_spots ?>
</td>
And the last question, I want to modify that “register” link to load the registration form into a specified page, if I change page_id to a custom page, will the registration form work?
Thank you for your help, I’m not the best coder 🙂
This topic was modified 11 years, 3 months ago by Ion Paciu. Reason: the code tag was wrong
And the last question, I want to modify that “register” link to load the registration form into a specified page, if I change page_id to a custom page, will the registration form work?
I’m afraid that will not work. The registration page is the page that has the [ESPRESSO_EVENTS] and is set to be the main registration page in Event Espresso>General Settings.
Thank you so much for the above, it works, but only after foreach.. what can I do to use them (at least to use the category name), before the foreach section, for example, I want to use it into the <th> section, bit above that.
You’d need to create another foreach loop for the area where you want to display an event category name for each event.
Viewing 3 reply threads
The support post ‘I want to display price and category name in [espresso_table]’ 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.