b03tz / StoreLocator

StoreLocator is a MODX addon that let's your customers search for stores in their vicinity.
http://www.scherpontwikkeling.nl
6 stars 10 forks source link

Show single store by passing an id as a paramter to match against the resource_id value #16

Open timbanks101 opened 11 years ago

timbanks101 commented 11 years ago

OK so we have the requirement to show the store locator map with a single store on the resource that holds the details related to that store. We are looking for a simple way to match the id of the current resource with the store entry in 'modx_storelocator_stores' that has a matching 'resource_id'. A parameter to pass '[[+id]]' into the snippet and update the map to show a matching store perhaps?

Any ideas?