Support

Home Forums Event Espresso Premium Display a category by venue

Display a category by venue

Posted: October 31, 2012 at 8:19 am


bins

October 31, 2012 at 8:19 am

I have venues setup and types of events by Category. I would like to list events in a category, by venue. I though something like: [ESPRESSO_VENUE_EVENTS id=1 event_category_id=”public”] might work, but, alas, no. Can anyone point me in the right direction? Ideally, I would like to use my newly created [ESPRESSO_VENUE_EVENTS id=1 show_only_dates=true] as a base!

  • This topic was modified 7 years ago by  bins.


bins

November 6, 2012 at 5:14 am

Anyone?


Jonathan Wilson

November 6, 2012 at 9:04 am

Hello,

Sorry for the delay. The best way to do this would probably be to add categories for your venues also and use the [EVENT_LIST category_identifier=your_category_identifier] shortcode.


bins

November 6, 2012 at 2:08 pm

Jonathan,

At each event, I have public tickets and dealer space, which I have set up as categories.

I need them to be displayed separately, so as not to confuse the two.

I see that I can allocate more than one category to an event, but I cannot work out how to show events by venue. Using [EVENT_LIST category_identifier=your_category_identifier] can I indicate 2 categories?


Jonathan Wilson

November 6, 2012 at 2:26 pm

Yes, you would enter both Category Identifiers.
Like so: [EVENT_LIST category_identifier="youth","adult"]


bins

November 6, 2012 at 3:17 pm

Excellent!!!!

Thanks.


bins

November 6, 2012 at 3:32 pm

Jonathan,

It looks like [EVENT_LIST category_identifier=”youth”,”adult”] will display all items that are in ‘youth’ and ‘adult’.

I want to only show items that are only in both, removing anything that only appears in one category.


Jonathan Wilson

November 6, 2012 at 4:27 pm

Ah, sorry about that.

Let me discuss this with our developers and get back to you on it.


bins

November 7, 2012 at 2:18 am

No problem – thanks for the help.


Chris Reynolds

  • Support Staff

November 7, 2012 at 2:12 pm

This hasn’t been tested, but you could try altering the shortcode to:

 [EVENT_LIST category_identifier="youth" AND "adult"]

or

 [EVENT_LIST category_identifier="'youth' AND 'adult'"]

Otherwise, you might need to create a custom SQL query to do what you need it to do.


bins

November 8, 2012 at 1:31 am

[EVENT_LIST category_identifier=”youth” AND “adult”]

Shows everything

[EVENT_LIST category_identifier=”‘youth’ AND ‘adult'”]

Shows “No events available…”


Dean

November 8, 2012 at 5:44 am

Though not an ideal workaround, you could attach a third category to the events that have two and show events by that category. Otherwise I think Chris is right in that a custom SQL search will be needed.


Jonathan Wilson

November 8, 2012 at 4:01 pm

I tested what Chris suggested, and the [EVENT_LIST category_identifier="youth" AND "adult"] shortcode worked for me. The other didn’t.

Bins, were you able to get the results you were looking for?


bins

November 9, 2012 at 6:23 am

Alas, no, I cannot get it to work!

By switching the categories around I noticed that it only shows the first and not the second!

The support post ‘Display a category by venue’ 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  bins 7 years ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.