[SOLVED] Strange behaviour...

  • jacopo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 months ago - 11 years 2 months ago #3663 by jacopo
[SOLVED] Strange behaviour... was created by jacopo
Hi... i love this component... and i was able to set it up just the way i want!

But suddendly it shows up likle this:
www.anukalana.com/component/com_zhgoogle...d,/view,zhgooglemap/

I really do not understand what to do....
Last edit: 11 years 2 months ago by jacopo.

Please Log in or Create an account to join the conversation.

  • jacopo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 months ago #3664 by jacopo
Replied by jacopo on topic Strange behaviour...
Well actually i've found is the Bigshoot google analytics plugin that does this....

should i put it in a special posiation?

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #3665 by Dima
Replied by Dima on topic Strange behaviour...
Hi.

As you can see your code
Code:
var contentString2 = '<div id="placemarkContent2" class="placemarkContent" >' + '<h1 id="headContent2" class="placemarkHead">'+ 'Centro Storico'+ '</h1>'+ '<div id="bodyContent2" class="placemarkBody">'+ ''+ '<!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'> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-6041740-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head><body><p><strong>Piazza Santa Croce</strong> presso la <strong>palestra del Liceo Artistico</strong></p><p>(ingresso dalla piazza a fianco della gioielleria)</p><p><a class="jcepopup" href="/Corsi-settimanali/Orari-lezioni-Yoga-e-Meditazione/Orari-Lezioni-Yoga-Sede-Centrale.html" target="_blank"><img style="margin: 5px; float: left;" src="/images/stories/design/vedi-orari-corsi-yoga.png" alt="vedi-orari-corsi-yoga" width="170" height="57" /></a></p><p>&nbsp;</p></body></html>'+ '</div>'+ '</div>';

But as I expect, your code have to be
Code:
var contentString2 = '<div id="placemarkContent2" class="placemarkContent" >' + '<h1 id="headContent2" class="placemarkHead">'+ 'Centro Storico'+ '</h1>'+ '<div id="bodyContent2" class="placemarkBody">'+ ''+ ''+ '</div>'+ '</div>';


Ie this is injection cause by system plugin.
Disable it as you don't need it, or do support request for bug fixing in this plugin

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #3666 by Dima
Replied by Dima on topic Strange behaviour...
Or try to publish your module for call this plugin above the map module in sequence, may be it will work

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • jacopo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 months ago #3667 by jacopo
Replied by jacopo on topic Strange behaviour...
Thankyou, i've just changed to another Google analytics plugin that gives me the option to choose where to publish the traking code:
Publishing the traking code at the end of the >body> solved the issue :-)

Please Log in or Create an account to join the conversation.

Time to create page: 0.185 seconds
Powered by Kunena Forum