Support

Home Forums Event Espresso Premium Events Table View Template Custom Price field

Events Table View Template Custom Price field

Posted: February 3, 2015 at 9:00 am

Viewing 5 reply threads


Michiel van der Schalk

February 3, 2015 at 9:00 am

Hi Guys,

1. For now the venue, title and register button are shown in the Table View. Is there a possibility to add a fixed price into the Table View Summary?

2. I installed Loco Translate in order to change all the records, looked for the translatable files but for EE4 I dont know how to install the dutch language but it is not applying for some reason. How can I custom change all the default records etc?

Looking forward hearing from you,

Best Regards,
Michiel


Michiel van der Schalk

February 5, 2015 at 5:07 am

L.S.,

I was wondering if you guys maybe could take a look at my above question.

Lookin forward hearing from you,

Best Regards,
Michiel


Dean

February 5, 2015 at 8:46 am

Hi Michiel,

1) Yes there is but it would involve editing the templates code or preferably creating a custom template. Custom templates can be uploaded to wp-content/uploads/espresso/templates/, please see here: https://eventespresso.com/wiki/ee4-events-table-view-template/

2) Installing the language files should just be a case of downloading the appropriate ones from here and uploading them to wp-content/uploads/espresso/languages/

Githubs downloading of individual files is a bit weird.

To download the PO file – left click the link on the main page and then right click the Raw button in the top right of the page that comes up and save as.

To download the MO file – left click the link on the main page, and then left click the View Raw text link in the middle of the page that comes up.

If you don’t do this you may end up with a MO and PO file that contains garbage data and the language wont work.

If the language is still not kicking in, please check that you have set the language in your wp-content.php file and that Settings > Site Language is also set tot he correct language.


Michiel van der Schalk

February 6, 2015 at 8:36 am

Cheers Dean for your support.
I finally got the translation files, although it is not completely done. So I now have to complete it myself right?
Then one more question about the table view plugin.
I have been looking for the price php variable to link to the table view shortcode.

<tr class="espresso-table-row <?php echo $category_slugs; ?>">
<td class="event_title event-<?php echo $post->ID; ?>"><?php echo $post->post_title; ?></td>
<td class="venue_title event-<?php echo $post->ID; ?>"><?php espresso_venue_name( NULL, FALSE ); ?></td>
<td class="venue_title event-<?php echo $post->ID; ?>"><?php espresso_venue_name( NULL, FALSE ); ?></td>
<td class="start_date event-<?php echo $post->ID; ?>" data-value="<?php echo strtotime( $startdat ); ?>"><?php echo date_i18n( $date_format . ' ' . $time_format, strtotime( $startdat ) ); ?></td>
<td class="td-group reg-col" nowrap="nowrap"><?php echo $live_button; ?></td>

Now I have twice the Venuename and I want to have one of them to be the lowest price. Is this possible? And what php string I have to pick?

Hopefully you can help me out. Would be great.

Looking forward hearing from you,
Best Regards,
Michiel


Michiel van der Schalk

February 6, 2015 at 9:51 am

I got it thanks to this article:
https://eventespresso.com/topic/creating-custom-template-ee4-table-view-addon-2/

Cheers!


Dean

February 9, 2015 at 2:00 am

Hi,

“So I now have to complete it myself right?” Unfortunately yes. We rely on community support to help us with translations as although our staff live in 5 different countries, for the most part we all speak English.

IF you would like to help us and other EE community members, you can submit your translations: https://eventespresso.com/features/languages/

Glad you got your customisation sorted!

Viewing 5 reply threads

The support post ‘Events Table View Template Custom Price field’ 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