September 16, 2016 at 3:53 am #54142dlxMember
when using the Add-Ons Formidable and Kleo Geo Location together the maps api does not work any more. First I thought this would be caused by the Premium Settings Add-On but now I found out it´s the Formidable Add-On.
When Formidable Add-On is active I get this errors:
In the HTML I see the country & language codes are not set correctly – although I set them in the settings:
When I deactivate the Formidable Add-On the API errors disappear and the HTML looks like this:
Do you have a solution for this, please?
JanSeptember 20, 2016 at 8:03 pm #54191Eyal FitoussiMember
You should enter your Google Maps API key in Formidable Settings page as well. There is a text input box for the API key.
Let me know if that helps.September 20, 2016 at 9:34 pm #54195dlxMember
ok, I found the API key in the Formidable Settings page and entered it. The error is gone but the language & country settings of the Formidable Add-On are overwriting the Kleo settings.
I looked in the code of formidable-geolocation.php:
In the lines 154 and 155 the language & country settings are set.
‘region’ => ‘us’,
‘language’ => ‘en’,
I edited them and now the Kleo search works again (displays correct language). I tested this several times so I can say the hard coded language & country settings of the Formidable Add-On overwrite the Kleo settings.
I think it would be perfect if you could add settings for language & country in Formidable as well.
JanSeptember 23, 2016 at 12:46 am #54225Eyal FitoussiMember
Yes, I had a feeling that Formidable Geolocation add-on overrides the GEO my WP API settings. I will soon release an update for Formidable Geolocation with the ability to set the country and language code.
Thank you for reporting back the results.
You must be logged in to reply to this topic.