Page 1 of 1

Maps not showing in articles

Posted: 26 Apr 2012, 15:23
by Lox87
Hi,

I installed on my joomla 1.7.3 Phoca maps component v. 2.0.5 and Phoca maps plugin v. 2.0.5 enabling it.
When i create a new map i can see it choosing coordinates with the mouse but when i copy and paste the code {phocamaps view=map|id=1} in an article the map is not showing.
Width and height are right but the space is blank.

I tried to disable the plugin and i can see the code {phocamaps view=map|id=1} in the article.
Tried to uninstall and reinstall too but with the same result.

What can i do? I need this, if it will work is the best component for google maps!

Thanks!

Re: Maps not showing in articles

Posted: 26 Apr 2012, 20:56
by Jan
Hi, is the plugin enabled and published? Do you get some javascript error on that site?

Re: Maps not showing in articles

Posted: 27 Apr 2012, 09:03
by Lox87
Yes plugin enabled and no javascript errors

I tried it in an other site and it work, so there is a problem in this site.

With the console i found this error:

<div id="phocamaps-box"><div class="pmbox-grey" ><div><div><div><div id="phocaMapPlgPM1" style="width:500px;height:400px"></div></div></div></div></div></div><script type="text/javascript">//<![CDATA[
google.load("maps", "3", {other_params:"sensor=false"});

Uncaught ReferenceError: google is not defined
(anonymous function)


google.load("search", "1");

var tstPhocaMapPlgPM1 = document.getElementById('phocaMapPlgPM1');
var tstIntPhocaMapPlgPM1;
var mapPhocaMapPlgPM1;




Disabling all plugins and modules installed does not change anything

Re: Maps not showing in articles

Posted: 30 Apr 2012, 17:17
by Jan
Hmm, this seems like some problem while loading external google library on your server :idea:

Jan