Support

Home Forums Events Calendar Add-on Change Default Venue in Drop Down

Change Default Venue in Drop Down

Posted: May 25, 2016 at 11:06 am

Viewing 5 reply threads


Lance Teitsworth

May 25, 2016 at 11:06 am

I’m running EE Calendar (Version 3.2.6.p), and have a strange problem.

A seemingly random location is showing up as the default in the dropdown no matter what venue is selected.

The sorting on the calendar itself is correct, but the client and visitors are confused because this one location always shows in the dropdown.

Here’s the page: http://www.baue.com/event-calendar/

Any ideas?


Lorenzo Orlando Caum

  • Support Staff

May 25, 2016 at 12:21 pm

Hi Lance,

What is the exact shortcode that is in use on that page?

Is it using the venue parameter which would pre-select that venue?


Lorenzo


Lance Teitsworth

May 25, 2016 at 3:25 pm

The shortcode is just [ESPRESSO_CALENDAR]


Tony

  • Support Staff

May 26, 2016 at 3:27 am

Hi Lance,

Are you running any caching plugins?

Or does your host run server side caching?

The dropdown will show a specific venue if ‘event_venue_id’ is set within the request, if the request has been cached it will return the same value each time.


Lance Teitsworth

May 26, 2016 at 5:36 am

SOLVED!

After clearing caches and doing more extensive testing, I discovered that the venue in question was created without a slug somehow. (Actually, there were 3 without slugs, and this one was the last in the list.)

So, after creating the slugs and re-assigning the events to the venues, all is working perfectly.

I don’t know how that happened (client created them), but I would think slugs would be created automatically from the title, as with posts. Perhaps something to check in the code.

Anyway, thanks for your prompt replies!


Josh

  • Support Staff

May 26, 2016 at 8:56 am

Normally those slugs are created automatically. If you check, you’ll find that it’s nearly impossible to delete the slug there as well.

Viewing 5 reply threads

The support post ‘Change Default Venue in Drop Down’ 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