Hi Manó,
1.,
Are there any error message?
Yes, it says that "a different Google Maps API key is necessary for this website". An then it states the Google url where you can get a new API key. I got a new key but it makes no difference.
Google Maps can also be called from the SC main component, when viewing details of an event. This works properly, it is just the module that throws the error.
2.,
Do you use template override for the map module? So do you have this directory?
\templates\YOUR_TEMPLATE\html\mod_simplecalendarmap
If yes, what files are there in?
Well in fact I do not have this directory. I have been messing around with two files that were in de main directory of the module: helper.php and mod_simplecalendarmap.php
I only realize that now you asked for it. I made these changes more than one year ago and I forgot what I did exactly. I'll check these files agains the new versions.
3.,
Please try this:
Change this line ~14. (in \modules\mod_simplecalendarmap\tmpl\default.php or \templates\YOUR_TEMPLATE\html\mod_simplecalendarmap\default.php if exist)
| Kód: |
$GMAPAPI = $config->gmap_api_key;
|
change to
| Kód: |
$GMAPAPI = 'YOUR_API_KEY';
|
Where YOUR_API_KEY is what you get from google.
I tried but it doesn't help. Now I'll check the helper.php and mod_simplecalendarmap.php files for changes in the new version.
I'm sorry to bother you with this; one year ago I was quite new to Joomla and didn't realize the consequences of some of my actions.
Thanks for your help, Frits