Hey there cmsmadesimple lovers
I have a customer that wants/need a store locator on his website.
I searched for cmsms modules and found that it must be possible to use company director and cggooglemaps2. But than I noticed that cggooglemaps2 was markt as an old module. I tested the module (cmsms 2.2.10 / php 7.3) and noticed that I could not add a map.
So I started seaching the internet for a shop locator scripts but all I found where very complex scripts and Wordpress plugins. ( but as you know, I do not use Wordpress).
Does anyone of you can give me a hint or tip ?
What is the best way to get a store locator on the website ?
I still have to start building the website so any tip is welcome.
TIA
Store locator / cggooglemaps2
-
musicscore
- Power Poster

- Posts: 498
- Joined: Wed Jan 25, 2006 11:53 am
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Store locator / cggooglemaps2
CompanyDirectory works fine with CMSMS. Haven't tested CGGoogleMaps2 in a while, but depending on what you want, and what data you have it is not exactly necessary.
i.e: If you have latitude and longitude data for all of your addresses, then you can enter that data into CompanyDirectory and use leaflet to draw the map.
On the other hand, It would not take more than a few hours to update CGGoogleMaps2 .. but now to use Google's maps or geocoding API (to parse addresses into latitude/longitude) an API key and a billing account is necessary. I have not had an inclination to set those up.
BTW: I am currently in the middle of giving CompanyDirectory an overhaul to bring it up to CMSMS 2.x standards. The templates will change a bit, but data will not.
i.e: If you have latitude and longitude data for all of your addresses, then you can enter that data into CompanyDirectory and use leaflet to draw the map.
On the other hand, It would not take more than a few hours to update CGGoogleMaps2 .. but now to use Google's maps or geocoding API (to parse addresses into latitude/longitude) an API key and a billing account is necessary. I have not had an inclination to set those up.
BTW: I am currently in the middle of giving CompanyDirectory an overhaul to bring it up to CMSMS 2.x standards. The templates will change a bit, but data will not.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
musicscore
- Power Poster

- Posts: 498
- Joined: Wed Jan 25, 2006 11:53 am
Re: Store locator / cggooglemaps2
Thank you calguy1000 for you answer and update.
So, as a read your message correctly, I only neet CompanyDirector and Leaflet (which I do not know yet).
PS I wanna thank you for all the work you are doing for cmsmadesimple. You get all my respect.
So, as a read your message correctly, I only neet CompanyDirector and Leaflet (which I do not know yet).
PS I wanna thank you for all the work you are doing for cmsmadesimple. You get all my respect.
Re: Store locator / cggooglemaps2
Leaflet is a great option for this, it's what we used for the site featured in a recent CMSMS newsletter: https://newsletter.cmsmadesimple.org/w/ ... qHA763lXhA
We used LISE to store the location information but CompanyDirectory would be fine too. As long as you have the lat/long information you can easily pass it to Leaflet (or another similar JS map library) in your templates.
We used LISE to store the location information but CompanyDirectory would be fine too. As long as you have the lat/long information you can easily pass it to Leaflet (or another similar JS map library) in your templates.
Not getting the answer you need? CMSMS support options
Re: Store locator / cggooglemaps2
I use Leaflet at my supplier listings, i.e.
https://pneumatic.tube/suppliers/the-ne ... buizenpost.
It is indeed not that difficult to use, might do a tutorial about it some day. For now PM me for details.
grtz. Rolf
https://pneumatic.tube/suppliers/the-ne ... buizenpost.
It is indeed not that difficult to use, might do a tutorial about it some day. For now PM me for details.
grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
-
musicscore
- Power Poster

- Posts: 498
- Joined: Wed Jan 25, 2006 11:53 am
Re: Store locator / cggooglemaps2
Rolf, looks realy nice.
What I need is an input field where you can put your address and then the shop locator should show the nearest shops and a map where to find them.
I visit the Leaflet site and I think, with a little puzzeling I might come close.
Thanks for you help so far.
What I need is an input field where you can put your address and then the shop locator should show the nearest shops and a map where to find them.
I visit the Leaflet site and I think, with a little puzzeling I might come close.
Thanks for you help so far.


