automatic city selection makes browsing the directory difficult
This topic contains 8 replies, has 2 voices, and was last updated by Stiofan O’Connor 6 years, 2 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
September 3, 2018 at 6:41 am #445067
Hi Stiofan
This issue is very important to me and it is a real problem for browsing the directory:
1. I select a “Region” in the location switcher.
2. I click in the place list on any place within this “Region”.
3. Then the location switcher changes to the “City” of this place.= If I select a Region in the location switcher, this settings should remain and NOT change to the City.
When I dont select any region or city in the location switcher and I click on any place, then suddenly the city of this place is set in location switcher.
Would be great to have the option to switch of these functionality without changing the premalink structure (no location data in url). I would like to have city and region in url of a place but be able to switch off this automatic city selection.Really helpful would be that I can choose if I want to have automatic city selection OR automatic region selection. For regions this would be perfect for me: when a user clicks any place, it automatically sets the Region of this place as standard in location switcher (instead of the city like it is now).
Even better would be this: I can choose for what cities and for what regions I want to have this automatic city selection.
Can you please have a look at this issue?
Thanks a lot!
Regards,
MarcSeptember 3, 2018 at 2:04 pm #445144Hi Marc,
I’m currently working on how to implement settings for this.
The reason it defaults to city on the details page is that i don’t want to implement sessions and have pages loading with sometimes links to country, region or city, i want them always to be the same so any caching plugin will work and not cause problems..
For the details page i’m not sure if this should follow the url structure or have a seperate setting for this.
If you have suggestions feel free to share them.
Thanks,
Stiofan
September 3, 2018 at 3:38 pm #445162I would prefer a setting where I can:
– deactivate any automatic default location selection
– activate automatic default city selection
– activate automatic default region selectionAnd when I select any Region or City in location switcher manually, this settings should never automatically change, unless I change the switcher again manually.
Another issue:
GeoDirectory > Settings > Locations: Enable selected citiesThis setting doesnt have any impact on location switcher, is this correct? I still can select any city in location switcher, but I limited the cities.
Would be better like this: only the selected cities can be selected in location switcher too.Thanks,
September 3, 2018 at 6:18 pm #445185Hi Marc,
Let me explain more how it works so i can get your feedback.
In all cases (except the details page) the location is set from the info in the URL.
so if you are on page /location/united-states/pennsylvania/ then the location is a region called “pennsylvania” and all the archive links will point to that location and the location switcher and search bar will show “pennsylvania” also.Basically is uses the location info in the url and NOT a PHP Session or cookie or any other stored info, this is done so that no matter who visits the page the urls always point to the same place and it can be indexed correctly and cached correctly (unlike if the urls depended on a session)
Ok now that i have explained the above, we come to the “details” page, unlike all the other locations pages the details page is always linked to a city and never just to a region or country, however the url can be customised to show the location in any order and even remove the location completely, so we can’t reliably use the url for the archive links, so just now we set it to the city of the listing.
My proposed solution is two things:
1. an option to disable the filtering of the archive pages, so no matter where you are the archive page never has any location info in it (mostly used for small directories)
2. a option to set what part of the location from a listing is used for the archive page urls.
Please see the attached screenshot and give feedback.
Thanks,
Siofan
September 3, 2018 at 8:06 pm #445194This reply has been marked as private.September 4, 2018 at 7:01 pm #445330I have implemented this and it will be in the next release.
Thanks,
Stiofan
September 4, 2018 at 7:08 pm #445331This reply has been marked as private.September 7, 2018 at 8:09 am #445741This reply has been marked as private.September 7, 2018 at 3:01 pm #445799Great, thanks for the feedback 🙂
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket