Home › Forums › Calendar Products › Events Calendar PRO › Location search seems to be mostly broken
- This topic has 5 replies, 2 voices, and was last updated 11 years, 10 months ago by
Casey D.
-
AuthorPosts
-
June 13, 2014 at 6:42 pm #224375
indrakubicek
ParticipantIf I search for Turkey it finds the events in Turkey. However, if I search for Spain, or France, or Mexico (where there are also events) it says no events found! (have try for yourself on http://omexchange.staging.wpengine.com/events/ )
What is happening and how can I fix it?
June 16, 2014 at 12:25 pm #229889Casey D
MemberHello indrakubicek,
This may be confusing!
Location search is based on distance between two ‘points’ on a map, converted to lat/lon based on the address of the venue.
If there is one event somewhere in Spain, and it doesn’t come up when they type ‘spain’ in the location search, it is because the search point for the location is outside the chosen search radius of the term ‘spain’ (in the middle of the country). Yet another event in Spain might return, if it is close to that central radius.
Location search works really well for localized searches, by town or zip code for example. But for large areas not so much.
You can change the search radius on the back end in the Events Settings > General tab, but that still isn’t what you are looking for (I don’t think at least).
I see you are categorizing some events by country, and I think that is your best bet. I would use the filter bar to create a dropdown of country options, to get the results you are looking for. If the ‘location’ search is confusing for your guests, I would remove it with CSS.
Does this make sense? Let me know if this doesn’t work for you.
Cheers!
– Casey Driscoll
June 16, 2014 at 1:24 pm #229993indrakubicek
ParticipantAh right, I think I get it. I think I’ll try to hide it using CSS as you suggest…
Just did so by adding the following to /tribe-events/pro/tribe-events-pro.css
/* Hiding location search
----------------------------------------- */
div.tribe-bar-geoloc-filter {
visibility: hidden;
width: 0px;
}
My CSS skills are pretty basic. Have you got any tips/ code snippets to help me get started on making some nice looking drop down lists using the filter bar? What is the best way to override/ change the filter bar css?
ThanksJune 17, 2014 at 10:11 am #231619Casey D
MemberHello indrakubicek,
I would try something like this:
div.tribe-bar-geoloc-filter { display: none; }
.tribe-events-uses-geolocation .tribe-bar-date-filter,
.tribe-events-uses-geolocation .tribe-bar-search-filter,
.tribe-events-uses-geolocation .tribe-bar-submit {
width: 33% !important;
}You can also just put it in tribe-events/tribe-events.css. This works best for me.
Does this make sense? Let me know if this doesn’t work for you.
Cheers!
– Casey Driscoll
June 18, 2014 at 3:55 am #232944indrakubicek
ParticipantThanks Casey, that does make sense, yes.
June 20, 2014 at 8:59 am #238419Casey D
MemberHello indrakubicek,
Happy it worked out!
We’d love it if you would leave us a review and let people know how much you like the plugin! http://m.tri.be/jt
I’ll go ahead and close this thread. Let us know if we can help with anything else.
– Casey Driscoll
-
AuthorPosts
- The topic ‘Location search seems to be mostly broken’ is closed to new replies.
