Support

Home Forums Event Espresso Premium Event Listing Help Needed

Event Listing Help Needed

Posted: July 11, 2014 at 11:20 am


sbernadot

July 11, 2014 at 11:20 am

Hi Guys,

My objective is to list all events for a specific category in table format (as seen in top screenshot here: https://eventespresso.com/product/custom-templates/), and include the Event name, start date, start time, venue, and Register button.

I installed the “Custom Templates Add-on” plugin, but I do not see any options to configure a template, and the page describing the add-on has no docs.

I really appreciate your help πŸ™‚ – Scott


sbernadot

July 11, 2014 at 11:23 am

Also, I do not want the filter by category dropdown displayed πŸ™‚ Thanks again.


Lorenzo Orlando Caum

  • Support Staff

July 11, 2014 at 11:55 am

Hi,

These are the supported templates:

https://eventespresso.com/wiki/custom-template-add-on/

Which one are you referring to?

Also, any edits to this particular template will be applied to all events/categories.


Lorenzo


sbernadot

July 11, 2014 at 11:58 am

Hi Lorenzo – I am referring to the default πŸ™‚

[EVENT_CUSTOM_VIEW]

Thanks!


Lorenzo Orlando Caum

  • Support Staff

July 11, 2014 at 12:06 pm

Right, that is the shortcode but each template displays different information.

Which template are you trying to use?

Calendar Table
Category Accordion
Grid
Masonry Grid
Recurring Drop Down
Vector Maps
Date Range


Lorenzo


sbernadot

July 11, 2014 at 12:17 pm

Sorry for my confusion. Just as a note from my side of things… there is no clear documentation on this add-on and it is confusing to use. There is not even a link to the wiki from the Add-on page or a readme with the download. Any steps you could make to clarify this would be appreciated πŸ™‚

I guess I am not using any of these, Lorezo. I simply installed the plugin, activated it, and got stuck. I thought the add on would let me configure the columns within the default table listing, but I see this is not the case. I most likely do not need the plugin installed, but I still need a table listing that includes the info I noted above.


sbernadot

July 11, 2014 at 12:28 pm

Perhaps I can ask my question in a better way.

Using this code: [EVENT_CUSTOM_VIEW template_name=”events-table” event_category_id=”intro17″]

How can I add a time (we have multiple events the same day) and remove the drop down filter?

Thank you – Scott


sbernadot

July 11, 2014 at 1:30 pm

I have hidden the drop down with CSS.

Can you please help me add a start time to the event listing? Thank you.


Lorenzo Orlando Caum

  • Support Staff

July 11, 2014 at 1:43 pm

Hi,

I was confused by your reference to the screenshot — I looked at the product images which appear above the other images.

Each addon has a yellow box like this which has a link to the documentation:

http://cl.ly/image/1z0J383q3D3Y

We’ll split up the information so its more noticeable.

This is the documentation page for the custom templates is here: https://eventespresso.com/wiki/custom-template-add-on/

The default template is the event table but there are other templates available as seen in the link above.

This will hide the dropdown:

.category-filter{display:none}

Try adding that to your child theme’s stylesheet.

Adding the start time will require some custom coding so I’ll need to check with a team member on that.


Lorenzo


sbernadot

July 11, 2014 at 1:52 pm

Thank you for the clarification and the info, Lorenzo.

Yes, at this point I am just trying to add the start times to my listings. Hopefully this will be a simple shortcode parameter in the near future πŸ™‚ I appreciate your help and look forward to the code. Thanks again. -Scott


sbernadot

July 11, 2014 at 9:02 pm

Can anyone help me with this? Who knew adding a time to an event listing was so difficult???


Tony

  • Support Staff

July 14, 2014 at 4:51 am

Hi Scott,

event_time is already included within the templates but is commented out.

If you open up \wp-content\plugins\espresso-custom-templates\templates\events-table\index.php look on line 96, you’ll find:

start_date/*.' '.$event->start_time, get_option('date_format').' '.get_option('time_format')*/) ?>

Remove the comments /* & */ to include the event start_time, so the code becomes:

start_date .' '.$event->start_time, get_option('date_format').' '.get_option('time_format')) ?>

That will include the event_start time within the date column this this – http://take.ms/JdV0T

Does that help?


sbernadot

July 14, 2014 at 7:14 am

Yes! Perfect. Thank you so much Tony. I appreciate your help. – Scott

The support post ‘Event Listing Help Needed’ 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