Re: Map not showing
Posted: 01 Nov 2010, 17:07
Due to user command I had to downgrade phocamaps to version 1.0.5.
Now it's working fine.
Now it's working fine.
senza wrote:I have installed component and plugin and all seems ok but the maps are not displayed, after some search I found that in my joomla page there is not the code to the google scriptSo I putCode: Select all
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
instead ofCode: Select all
function startJScData() { return '<script src="http://www.google.com/jsapi" type="text/javascript"></script><br /><script type="text/javascript">//<![CDATA['."\n"; }
in file administrator/components/com_pochamaps/helpers/phocamapsmap.php at line 95 and now the maps are ok, I hope that this help.Code: Select all
function startJScData() { return '<script type="text/javascript">//<![CDATA['."\n"; }
Hi, Alexander!Alex_Faerber wrote:Hi,
I have a similar Problem - the Map is not showing in the article - surprisingly the Popup is working and displaying the map!
I have tried the procedure replacing the code in phocamapsmap.php but without success.
Any other idea how I can bring the component to work??
The site is http://www.wutach.org
Thanks!
Alexander
To my surprise I could not find the file phocamapsmap.php at the place, which helped to solve my problem. I had copied the whole joomla installation to a another folder and my links still pointed to the old installation. When I renamed the older folder, I could see the problem and reinstall phocamaps component and plugin as well as googlemap plugin. Thus I would like to thank here for pointing me to the correction of my errors.senza wrote: 2)download from your site this file "administrator/components/com_pochamaps/helpers/phocamapsmap.php", open it and search this code (around line 95)
3) replace this code with the code that you have copied before, save and upload the file (in "administrator/components/com_pochamaps/helpers/phocamapsmap.php")Code: Select all
function startJScData() { return '<script type="text/javascript">//<![CDATA['."\n"; }
This method worked for me, I hope it can help you too