Hi Ciaran, hope all is well
We ran into a bit of a problem with a store locator component we are using.
The store locator gives us an error as if we're using a wrong Google Maps API key, but we're using the same key on another website where it is working fine.
The API key is set up properly, but it gives an error when using the Joomla 3 Cashmere template.
https://horsefoodthebest.nl/verkooppunten <- on this site it gives an error.
https://www.vangorphobbyvoeders.nl/dealers <- on this site it works perfectly.
We copied the first site to testing grounds and used a more recent Joomla 3 template, Alexis, to see if this resolved the issue.
https://horsefood.strongbrand.nl/verkooppunten <- staging site
And voila, the map suddenly works again, so we've come to the conclusion that the issue here is the Cashmere template.
However, the client really wants to maintain the current look.
Do you know why the Cashmere template doesn't work with the Store Locator component while Alexis does? And could you help resolve it?
Hopefully it can be solved by simply adjusting/adding/removing something small in the files.
We hope you can help us, and hope to hear back from you soon
With kind regards, Sterkmerk Team
- hansbijloo
-
- Commercial Templates
- Thursday, 18 January 2024
- Subscribe via email
Hello
Just to ensure that the issue is a template related issue and not related to any of your installed extensions, could you try enabling the default Joomla template (protostar) and see if the issue persist?
Ciaran
Just to ensure that the issue is a template related issue and not related to any of your installed extensions, could you try enabling the default Joomla template (protostar) and see if the issue persist?
Ciaran
- more than a month ago
- Commercial Templates
- # 1
Hi Ciaran,
We have done so, and when Protostar is enabled, it works just fine.
When we turn on another J51 template, for instance, Alexis, it also works fine.
It only stops working when we use the Cashmere template. We have also started a fresh site, completely empty except for the storelocator module, and the same problem persists. But only with the Cashmere template.
Any help is much appreciated
Kind regards,
Daniel
We have done so, and when Protostar is enabled, it works just fine.
When we turn on another J51 template, for instance, Alexis, it also works fine.
It only stops working when we use the Cashmere template. We have also started a fresh site, completely empty except for the storelocator module, and the same problem persists. But only with the Cashmere template.
Any help is much appreciated
Kind regards,
Daniel
- more than a month ago
- Commercial Templates
- # 2
Hi Daniel
May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.
Ciaran
May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.
Ciaran
- more than a month ago
- Commercial Templates
- # 3
Hi Ciaran,
I have made an account for you on the site. I have emailed you the info if the site hasn't automatically already sent you the info.
Kind regards,
Daniel
I have made an account for you on the site. I have emailed you the info if the site hasn't automatically already sent you the info.
Kind regards,
Daniel
- more than a month ago
- Commercial Templates
- # 4
Hi Daniel
Can you confirm the email sent to is info@joomla51.com ?
Strangely we do not appear to have received an email directly or from your site.
Ciaran
Can you confirm the email sent to is info@joomla51.com ?
Strangely we do not appear to have received an email directly or from your site.
Ciaran
- more than a month ago
- Commercial Templates
- # 5
Hi Ciaran,
Yes, I can confirm. I've just resent the mail to the same address, info@joomla51.com.
Could it have landed in the spam box, maybe?
Daniel
Yes, I can confirm. I've just resent the mail to the same address, info@joomla51.com.
Could it have landed in the spam box, maybe?
Daniel
- more than a month ago
- Commercial Templates
- # 6
Thank you Daniel
Could I ask you to detail the error you are getting as your extension appears to be working without issue on our side?
Ciaran
Could I ask you to detail the error you are getting as your extension appears to be working without issue on our side?
Ciaran
- more than a month ago
- Commercial Templates
- # 7
Hi Ciaran,
The error is only happening with the Cashmere template.
We have temporarily switched the live page to the Bianca template to make sure clients are still able to use the locator.
This is the actual live page: https://horsefoodthebest.nl/verkooppunten
This page is the one that we switched to Bianca to make sure the locator is still working.
This is the page shown as it was before, duplicated to replicate the issue: https://horsefoodthebest.nl/verkooppunten-test
(Notice the extra "-test" at the end of the URL)
This page is still running the Cashmere template, as is the rest of the site.
On this page you can see the Store Locator somehow stops working.
Daniel
The error is only happening with the Cashmere template.
We have temporarily switched the live page to the Bianca template to make sure clients are still able to use the locator.
This is the actual live page: https://horsefoodthebest.nl/verkooppunten
This page is the one that we switched to Bianca to make sure the locator is still working.
This is the page shown as it was before, duplicated to replicate the issue: https://horsefoodthebest.nl/verkooppunten-test
(Notice the extra "-test" at the end of the URL)
This page is still running the Cashmere template, as is the rest of the site.
On this page you can see the Store Locator somehow stops working.
Daniel
- more than a month ago
- Commercial Templates
- # 8
Thank you Daniel
Your console is giving a warning of NoApiKeys from your Google maps component.
For details on this topic may I suggest the following URL.. https://developers.google.com/maps/documentation/javascript/error-messages
Ciaran
Your console is giving a warning of NoApiKeys from your Google maps component.
The script element that loads the API has no API key. Please make sure you include a valid API key as a key parameter. You can generate a new API key in the Cloud Console.
For details on this topic may I suggest the following URL.. https://developers.google.com/maps/documentation/javascript/error-messages
Ciaran
- more than a month ago
- Commercial Templates
- # 9
Hi Ciaran,
Yes, we know about the error. But the issue does not lie there, we've checked about four times over.
The Store locator is handled by a component and in the settings of said component you insert the API key. This key has been properly acquired via the Google Console, and all the settings are correct.
After that, via a menu item, you can load in an interactive map, displaying locations which will show via Google Maps.
The problem is not related to the API key.
I know the error says it is, but if you go to the URL Google provides, and scroll down to the correlating error message this is also shown:
"If you are loading Maps JavaScript API from the deprecated v2 path, you will get the NoApiKeys warning, even if you specified the key parameter. Please check the v2 to v3 upgrade guide and migrate your application to Maps JavaScript API v3."
The site uses only 1 API key, and this one is definitely working, because:
If you check the URL https://horsefoodthebest.nl/verkooppunten, you can see that the Store Locator is working.
If you check the URL https://horsefoodthebest.nl/verkooppunten-test, you can see that it's suddenly not.
These pages both use the same settings, the same component and the same API key.
The only thing that's different is the template that they use.
We believe the issue lies somewhere in the JavaScript of the template, or something similar to that.
We've tried everything, from making a new API key, to reinstalling the Store Locator and changing all the settings.
But the only thing so far that has fixed it, is switching the page to a new template.
I still hope you can help us with this.
With kind regards,
Daniel
Yes, we know about the error. But the issue does not lie there, we've checked about four times over.
The Store locator is handled by a component and in the settings of said component you insert the API key. This key has been properly acquired via the Google Console, and all the settings are correct.
After that, via a menu item, you can load in an interactive map, displaying locations which will show via Google Maps.
The problem is not related to the API key.
I know the error says it is, but if you go to the URL Google provides, and scroll down to the correlating error message this is also shown:
"If you are loading Maps JavaScript API from the deprecated v2 path, you will get the NoApiKeys warning, even if you specified the key parameter. Please check the v2 to v3 upgrade guide and migrate your application to Maps JavaScript API v3."
The site uses only 1 API key, and this one is definitely working, because:
If you check the URL https://horsefoodthebest.nl/verkooppunten, you can see that the Store Locator is working.
If you check the URL https://horsefoodthebest.nl/verkooppunten-test, you can see that it's suddenly not.
These pages both use the same settings, the same component and the same API key.
The only thing that's different is the template that they use.
We believe the issue lies somewhere in the JavaScript of the template, or something similar to that.
We've tried everything, from making a new API key, to reinstalling the Store Locator and changing all the settings.
But the only thing so far that has fixed it, is switching the page to a new template.
I still hope you can help us with this.
With kind regards,
Daniel
- more than a month ago
- Commercial Templates
- # 10
Hi Daniel
Admittedly it is very difficult for us to troubleshoot this from a template perspective as we are both unfamiliar with the extension and its requirements and there is no errors in the console log. Have you been in touch with the extension developer on this issue?
Ciaran
Admittedly it is very difficult for us to troubleshoot this from a template perspective as we are both unfamiliar with the extension and its requirements and there is no errors in the console log. Have you been in touch with the extension developer on this issue?
Ciaran
- more than a month ago
- Commercial Templates
- # 11
Hi Ciaran,
I see. I've tried contacting the extensions developer, but to no avail. It seems he may have stopped developing it (and his other extensions, too). It seems to still work on certain Joomla 3 templates, but not on Joomla 4 templates anymore.
We will think about this and the right course of action, perhaps it is time to modernize the site and switch to a newer template, or a new store locator. Thank you for your time and help so far.
With kind regards,
Daniel
I see. I've tried contacting the extensions developer, but to no avail. It seems he may have stopped developing it (and his other extensions, too). It seems to still work on certain Joomla 3 templates, but not on Joomla 4 templates anymore.
We will think about this and the right course of action, perhaps it is time to modernize the site and switch to a newer template, or a new store locator. Thank you for your time and help so far.
With kind regards,
Daniel
- more than a month ago
- Commercial Templates
- # 12
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »