Support

Home Forums Pre-Sales Customize event frontend

Customize event frontend

Posted: September 18, 2012 at 11:06 am

Viewing 13 reply threads


Edward Geha

September 18, 2012 at 11:06 am

I want the featured image and description and other things to show up in the list of events. How do I do this? Here is a link to my events page https://www.freerespite.com/newsite/events/


Dean

September 20, 2012 at 6:15 am

Hello Edward,

You could either set that page up as the Event Registration page via the Event Espresso General Settings, making sure that the [ESPRESSO_EVENTS] shortcode is used there

Or you could use the [EVENT_LIST] shortcode. https://eventespresso.com/wiki/shortcodes-template-variables/


Edward Geha

September 24, 2012 at 10:57 am

Hey Dean,

Thanks for answering me. I am using the [ESPRESSO_EVENTS] shortcode. The problem is my featured image is not showing up. I just realized that you probably couldn’t see my event because it was set as member only. Now if you go to this URL: http://www.freerespite.com/newsite/events/ you will see that the featured image is not there and is not there when you click on the event. Can you tell me how to add it?
Thanks!


Chris Reynolds

  • Support Staff

September 24, 2012 at 5:30 pm

The event_list_display.php template file is what controls the display of the event list and event_thumbnail_url is the meta key for the URL for the featured image. Event Espresso 3.1 does not support featured images in the event list natively, so you would need to modify the event_list_display.php and use the EE_META shortcode to display the featured image.

https://eventespresso.com/wiki/shortcodes-template-variables/
https://eventespresso.com/wiki/put-custom-templates/


Edward Geha

September 25, 2012 at 9:22 am

I put this code in the event_list_display.php

It shows the image url, I want it to show the image. Is there a meta key for that?

here is the link again: http://www.freerespite.com/newsite/events/


Edward Geha

September 25, 2012 at 9:23 am

Sorry it blocked out my pasted code [EE_META type=”event_meta” name=”event_thumbnail_url”]

  • This reply was modified 12 years, 2 months ago by Edward Geha.


Edward Geha

September 27, 2012 at 9:47 am

Can someone please help me with this? The url shows instead of the image


Dean

September 27, 2012 at 11:34 pm

Hi Edward,

Yes it will do that if you are just asking it to show the meta data as the meta data doesn’t store the image it stores the url of the image.

You could try using the php as the image source, for example

<img src="<?php echo do_shortcode('[EE_META type="event_meta" name="event_thumbnail_url"]'); ?>" />
  • This reply was modified 12 years, 1 month ago by Dean. Reason: code wasnt showing


Edward Geha

October 1, 2012 at 9:11 am

Dean,

The example you were trying to post isn’t showing up. Could you post the sample code again?


Dean

October 1, 2012 at 9:34 am

Updated


Edward Geha

October 1, 2012 at 12:51 pm

Thank you so much! I probably should have tried that, but I was not thinking like that. Thanks again! You guys rock!


Dean

October 1, 2012 at 11:24 pm

You’re welcome!


rajan ramani

October 19, 2012 at 12:15 am

I also want to implement featured image in listing of event espr and this post is working for me thank you all.

Thank you so much Dean Robinson


Dean

October 19, 2012 at 1:41 am

No problem!

Viewing 13 reply threads

The support post ‘Customize event frontend’ 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