bjorn2404 / jQuery-Store-Locator-Plugin

A store locator plugin using Google Maps API version 3
MIT License
495 stars 235 forks source link

store-locator/argument is failing #134

Closed kirantej closed 8 years ago

kirantej commented 8 years ago

Hi,

We created a page for the store locator as store-locator. But, when we try to pass any arguments as store-locator/argument, the store locator page is failing, It is loading the list-display with the store-locator page and its looping multiple times.

Is there a way to resolve this issue?

bjorn2404 commented 8 years ago

You are using the querystringParams option?

kirantej commented 8 years ago

We enabled that option as 'True'. But, when users tried with store-locator/test or with similar urls, the list template is loading multiple times.

bjorn2404 commented 8 years ago

You need the query string parameter for this to work: bh-sl-address= I'm not sure why you'd think it would work with just a parameter. Also, don't include the jQuery plugin call on the page with the initial submit form. See the query string example files:

https://github.com/bjorn2404/jQuery-Store-Locator-Plugin/tree/master/dist/query-string-example

kirantej commented 8 years ago

Ok. Thank you.