Support

Home Forums Event Espresso Premium EVENT_CUSTOM_VIEW for only one event

EVENT_CUSTOM_VIEW for only one event

Posted: July 14, 2014 at 5:39 pm


Alexander Müller

July 14, 2014 at 5:39 pm

Hi!

I’d like to show a [EVENT_CUSTOM_VIEW]-table only for one recurring event. For example: I’ve different photography courses. On the page of course A I want to show a Table only with all dates of course A. On course-site B I want only to show the table with course-dates of course B. And so on.

I’d be awesome if you could help me!

Thanks a lot and br,
Alex.


Alexander Müller

July 14, 2014 at 5:40 pm

(ignore this, it’s only because I forgot to check the email-notification for this thead 🙂 )


Lorenzo Orlando Caum

  • Support Staff

July 14, 2014 at 5:54 pm

Hi,

If this issue is resolved, then could you update the status to resolved?

You can also reply and we can do this for you.

Thanks.


Lorenzo


Alexander Müller

July 14, 2014 at 6:02 pm

Hey!
No,I meant you can ignore the second post, but the question is still a problem! Do you have an idea?

br,
alex.


Tony

  • Support Staff

July 15, 2014 at 1:38 am

Hi Alex,

To do this you can place each of those events into different categories then call just that category with the [EVENT_CUSTOM_VIEW] shortcode.

So go to Event Espresso -> Categories. Create 2 new categories “Course A” and “Course B” – http://take.ms/I0xlo (notice the category identifiers, you’ll need these shortly)

Then assign the relevant category to each of your events and call them with the [EVENT_CUSTOM_VIEW] using the category_identifier attribute.

So to call ‘Course A’ from my example, I would use:

[EVENT_CUSTOM_VIEW category_identifier=”course-a-1405409521″]

That way only the events from that category will be displayed.

EVENT_CUSTOM_VIEW comes with the events-table template, have you looked into the recurring dropdown template? Which works in the same way but groups all each group of recurring events into one instance and just displays the dates for that group.

Does that help?


Alexander Müller

July 15, 2014 at 2:16 am

Hi Tony!

thanks for the quick response – unfortunately that’s not a fix for my issue.
The problem is i have about 12 courses and 3 categories. each course is assigned to one category (beginner, intermediate, advanced). I want to display only the dates for course A on my page, but not all courses of category “beginner”.

Is it possible to hide categories in the category dropdown? for example to create 15 categories (each for one course) + the 3 skill-categories. In the shortcode I only show category 16, 17, 18 – so I could create the same effect like I want.

I hope I could describe my problem 😉

Thanks a lot!
Alex.


Dean

July 15, 2014 at 3:53 am

Hi Alexander,

Yes that’s fine, you can chain link the category identifiers with a comma, like so
:

[EVENT_CUSTOM_VIEW category_identifier=”british-1380794320,american-1380794310″]

You can hide the category filter as a whole by using this CSS:

#ee_filter_cat_default { display:none; }

Individual ones can be hidden like so

option.cat-7 {
display: none;
}

The number relates to the ID found in the Categories menu in the Event Espresso menu.

Please note that hiding options can be a little hit and miss depending on the browser, for example Internet Explorer will ignore the attempt to hide individual options. Not much can be done about that.


Alexander Müller

July 15, 2014 at 4:40 am

alright I will try that!

thanks a lot!


Dean

July 15, 2014 at 4:46 am

No problem, let me know how you get on!

The support post ‘EVENT_CUSTOM_VIEW for only one event’ 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  Dean 5 years, 4 months ago ago

Topic Tags

Notifications

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