Google maps addon wrong url - Forum | JoomShaper
Solved SP Page Builder

Google maps addon wrong url

Asked by Vangelis Eftaxopoulos 3 years ago Last activity 3 years ago

Hello,

After latest Joomla update, the google maps adon stoped working. The script src is wrong (it becomes relative to website).
I have forced to change the method on parser in order to work.

https://imgur.com/a/7jcVZdn

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff

As I said earlier, the only quick solution for you is to install an additional compression extension, even a free one.

I cannot edit template core files here. Developers task only.

9 more replies

Paul Frankowski Senior Staff

Hi Vangelis,

but in last SPPB update (4.0.8) Google Map addon code wasn't touch.

About Joomla errors - hmm...maybe: forum.joomla.org

Vangelis Eftaxopoulos Asked this

After Joomla update the error appeared. Maybe they messed something. I will reach out to them.

Thank you!

Vangelis Eftaxopoulos Asked this

After a single post on Joomla issues, they asked me to close the theme's js compresion and the link worked just fine. So it is theme related (wimble) and breaks my entire site.
I cannot exclude the maps api from option textare as it is not recognized.

Paul Frankowski Senior Staff

Yes, in that case Disabled JS compression from Template Options, indeed it may harm some scripts.

But you can use other compression tools > component or plugin, more safer.

Vangelis Eftaxopoulos Asked this

Of course I could use another plugin, but since there is an option, shouldn't that option work? Or let me exclude some scripts?

Paul Frankowski Senior Staff

You should be able to do that, try with that file

sppagebuilder.js

info_758_2023.jpg

Vangelis Eftaxopoulos Asked this

I tried but it is not working with google maps js.

Paul Frankowski Senior Staff

sorry, no more ideas, I don't see any other js scripts that may load part code for the map. All seems to be external from Google.

Log in to reply.