-
Zh GoogleMap
-
Component
-
Map not displaying when placemarks enabled
Map not displaying when placemarks enabled
-
philetaylor
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 2
-
Thank you received: 0
-
-
11 years 9 months ago - 11 years 9 months ago #951
by philetaylor
Hi.
I have installed your component and the map display works fine when I disable any of the placemarks that I have created but as soon as I enable any of them, the map doesn't display and a section of Java code is displayed instead (what looks like the code that would be used to create the placemark.
I have tried disabling other modules that use jQuery but nothing seems to fix it!
The test map that I have created is:
http://***************/vacancy-map.html
Thanks
Phil
Last edit: 11 years 9 months ago by philetaylor.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
11 years 9 months ago #952
by Dima
Hi.
You enter some data into placemark, that proceeded by your some plugin
Check this code
'Test'+
'</h1>'+
'<div id="bodyContent2" class="placemarkBody">'+
'test'+
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><script type="text/javascript">
(function($){
$(document).ready(function () {
$.cookieCuttr(
{
cookieOverlayEnabled: false,
cookieNotificationLocationBottom: false,
cookieAnalytics: false,
cookieCutter: true,
cookieMessage: 'Cookies on the SGOSS website - Your experience will be improved by allowing cookies',
cookiePolicyLink: '#',
cookieDeclineButton: false,
cookieDiscreetLink: false,
cookieDiscreetPosition: 'topright',
cookieResetButton: false,
cookieDisable: 'eg: #comments',
cookieDomain: '',
cookieErrorMessage: 'This feature places cookies in your browser and has been disabled.',
});
});
})(jQuery);
</script>
</head><body><p>test</p></body></html>'+
'</div>'+
'</div>';
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
11 years 9 months ago #953
by Dima
And, I think expected code was
'Test'+
'</h1>'+
'<div id="bodyContent2" class="placemarkBody">'+
'test'+
'</div>'+
'</div>';
Please Log in or Create an account to join the conversation.
-
philetaylor
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 2
-
Thank you received: 0
-
-
11 years 9 months ago - 11 years 9 months ago #954
by philetaylor
You are quite right, the "cookiemonster" plugin was the cause. (This is a plugin so that we can comply with the stupid new UK cookie laws!)
I have disabled it and everything seems to be working. I will contact the author of cookiemonster to try to resolve this.
Thanks
Phil
Last edit: 11 years 9 months ago by philetaylor.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 1
-
Thank you received: 0
-
-
11 years 9 months ago - 11 years 9 months ago #975
by perlarenee
had a similar problem...turns out it was Joomla's email cloaking...bahhh
Last edit: 11 years 9 months ago by perlarenee.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
11 years 9 months ago #989
by Dima
Yes, if you enter email address, then joomla try to change it to protect from spam bots.
In this case I suggest copy generated code pah paste in Additional HTML text.
I escaped it by hex-code for case show email address from contact (if you enable it), I replace @ symbol.
Please Log in or Create an account to join the conversation.
-
Zh GoogleMap
-
Component
-
Map not displaying when placemarks enabled
Time to create page: 0.100 seconds