Support

Home Forums Event Espresso Premium [EVENT_LIST] Links Only

[EVENT_LIST] Links Only

Posted: August 10, 2012 at 10:43 am


Melissa

August 10, 2012 at 10:43 am

I want to use the [EVENT_LIST] shortcode to display a list of events, but only want to display a title link to that event’s page, not the entire “Title, Price, Dates, Available Spaces, etc.” details.

The EE Upcoming Events widget does this exactly how I want to, but there is no widgetized area in my particular page and I’d like to do it using a shortcode so it’s customized for my template/theme.


ebsassociates

August 10, 2012 at 1:57 pm

I too am looking for this. The layout for [EVENT_LIST] has horrible spacing and doesn’t list events in an aesthetically pleasing manner. A simple list of event titles by date would be ideal.


Melissa

August 10, 2012 at 3:38 pm

FYI: My research so far has led me to this page: http://digwp.com/2010/04/call-widget-with-shortcode/. Creates a custom shortcode for any widget. It works great ([widget widget_name=”Event_Espresso_Widget”]), but the problem is that there’s no way to access or change the options of the widget. For example, I want to only display events from a certain category. So, this is a solution if you want to display ALL events. And again, there’s not much control over the output/display.


Josh

  • Support Staff

August 10, 2012 at 4:24 pm

Hey Melissa and Lucas,

The custom files add-on has several example templates that can be used to display events in a table display. There’s even one that will display the events in a dropdown list of links like this:enter image description here

If you know a little HTML & CSS, the event_list_display.php template can also be modified to display only links. Modified templates can be copied over to /wp-content/uploads/espresso/templates, and these will override the built-in templates and will not get overwritten on a plugin update. There is more information in this guide: http://eventespresso.com/wiki/put-custom-templates/

We recommend using Diffmerge to help merge changes into custom templates.


Melissa

August 17, 2012 at 9:35 am

I ended up just modifying my custom template file (event_list_display.php) commenting out almost everything that was being displayed, except for the event link. Not ideal, but it works.


Josh

  • Support Staff

August 17, 2012 at 10:04 am

Hi Melissa,

The templates are meant to be customized, and we have a location to copy these to so they do not get overwritten on an update. Templates can be copied over to /wp-content/uploads/espresso/templates. There is more information in this guide: http://eventespresso.com/wiki/put-custom-templates/
Note that some templates need to be copied over in pairs. For example, if you make a change to event_list_display.php, you’ll need to copy over it’s counterpart event_list.php. Also please note that if down the road we need to make a change to a template in version of Event Espresso, you’ll need to copy this change into your custom template to stay current with the plugin. We recommend using Diffmerge to help merge changes into custom templates.


Jennifer Doyon

August 20, 2012 at 4:25 pm

Is it possible for the CSS dropdown menu to display links to categories rather than list individual events?

Jennifer


Josh

  • Support Staff

August 20, 2012 at 7:48 pm

The CSS dropdown functions were developed to list events. So to change it to display a linked list of categories, they would need to be re-factored.

You might try looking into the newer [EVENT_ESPRESSO_CATEGORIES] shortcode that was added to 3.1.26.P.

The syntax goes something like this:
[EVENT_ESPRESSO_CATEGORIES cats=”1,2,3,4″ links=”76,79,86,88″]
cats = the category id you want to show
links = the page ID that this category is shown on


Chris

August 24, 2012 at 12:46 pm

Guys,

sorry, I’m quite confused.

I want do edit the event list placed on http://you-can-fight.com/termine/.

Especially I want to remove the prices shown there.

I understand that this can be done my modifying the file

event_list_display.php

But I don’t have such file in the /you-can-fight.com/wp-content/uploads/espresso/templates folder.

There are only

event_list_secondary.php

and

event_list_table.php.

I have also installed the custom files add on. But what does this do?
After installing I cannot find it in my plugin section.

And where to find the CSS Dropdown option mentioned above?

Thanks for bringing some light to me.


Melissa

August 24, 2012 at 4:09 pm

Chris,
Go to the Template Setting pages of EE. At the bottom under Developer Only, there show be a link or button to copy over those template files for you.

I believe the CCS Dropdown option above is within the Custom Files folder that you can download. It is not a plugin to install, but rather PHP code you can use to display things differently. I think…


Chris

August 25, 2012 at 6:11 pm

Hey Melissa,

thank you very much!

You got me back on track.

Everything works fine now.

The support post ‘[EVENT_LIST] Links Only’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Chris 8 years, 5 months ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!