Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
hi
in the store locator settings i change the URL from 'store_locator' to 'members/events/search'
I also change the path to the JSON from 'store-locator/json' to 'members/events/search/json'
i edit the View and change the path to 'members/events/search/json'
Have i done everything correct? The stores do not show up, the only way they show up is if i use the stre-locator URL
I also tried using URL Aliases but even that didnt show the stores
Can anyone help me out?
Thanks alot
Comments
Comment #1
prezaeis CreditAttribution: prezaeis commentedComment #2
prezaeis CreditAttribution: prezaeis commentedAnyone???
Comment #3
SuperfluousApostrophe CreditAttribution: SuperfluousApostrophe commentedI noticed that this problem doesn't exist if you just use a single path instead of a tree.
IE
locations
works, butbranches/locations
does not.Comment #4
SuperfluousApostrophe CreditAttribution: SuperfluousApostrophe commentedQuick answer: If you're going to have a tree'd alias for the display path, throw a forward slash in front of the Location Data string.
Let's say we're setting the display path as
branches/locations
.What appears to be happening is that the data path is being rendered at
site.com/branches/locations/store-locator/json
instead of atsite.com/store-locator/json
. Not sure exactly why, but this is what I found after about an hour or so of fiddling around.Comment #5
byarbrough CreditAttribution: byarbrough commentedI am assuming that the path is hard coded somewhere...normally, this could be changed in views...
Comment #6
byarbrough CreditAttribution: byarbrough commentedIt appears to be hard coded in line 154 and line 197 of google_store_locator.module.
Looks like this needs to be a request change for the next release.
Line 154:
Line 197:
Comment #7
byarbrough CreditAttribution: byarbrough commentedGuys, we were all missing it! :)
Go to [site URL]/admin/config/search/google_store_locator
Go to the bottom of the page, and click "Advanced Settings"
Change "What is the desired path for the store locator?" to the new URL.
That's it! The URL has been changed.
I believe this issue/thread can be closed now.
Comment #8
rodrigoeg CreditAttribution: rodrigoeg at CI&T commentedThis issue seems to be the problem described in #2466359: Path to Store Location data value fails