Plugin shows a lot of codes ??

  • rbuelund
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 7 months ago #10592 by rbuelund
Plugin shows a lot of codes ?? was created by rbuelund
Hi

I've installed your component and want to use the plugin in an article. I have entered my Goiogle API under settings. When I use this in the article:

{zhgooglemap:1;10}

I get this:

'+ '
'; var marker_com_content_article_176_0_1_map = new google.maps.Marker({ position: latlng_com_content_article_176_0_1_map, title:"Hoptrup Efterskole" }); google.maps.event.addListener(marker_com_content_article_176_0_1_map, 'click', function(event) { infowindow_com_content_article_176_0_1_map.setContent(contentString_com_content_article_176_0_1_map); infowindow_com_content_article_176_0_1_map.setPosition(latlng_com_content_article_176_0_1_map); infowindow_com_content_article_176_0_1_map.open(map_com_content_article_176_0_1_map); }); zhgmObjMgr_com_content_article_176_0_1_map.PlacemarkAdd(0, 0, marker_com_content_article_176_0_1_map, null); google.maps.event.trigger(marker_com_content_article_176_0_1_map, "click"); markerCluster0 = new MarkerClusterer(map_com_content_article_176_0_1_map, [], { maxZoom: 12, imagePath: icoUtils+'m' }); zhgmObjMgr_com_content_article_176_0_1_map.ClusterAdd(0, markerCluster0); google.maps.event.addListenerOnce(map_com_content_article_176_0_1_map, 'idle', function(event) { }); var toShowLoading = document.getElementById("GMapsLoading_com_content_article_176_0_1_map"); toShowLoading.style.display = 'none'; zhgmObjMgr_com_content_article_176_0_1_map.enablePlacemarkClusterization(); zhgmObjMgr_com_content_article_176_0_1_map.InitializeByGroupState(); }; function PlacemarkByIDShow(p_id, p_action, p_zoom) { alert("This feature is supported only when you enable it in map menu item or module property!"); } function showPlacemarkPanorama_com_content_article_176_0_1_map(p_width, p_height, p_pov) { PlacemarkShowPanorama(map_com_content_article_176_0_1_map, infowindow_com_content_article_176_0_1_map, p_width, p_height, p_pov, "_com_content_article_176_0_1_map"); }; function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); } } } function initializeZhGMPLG176() { initializecom_content_article_176_0_1_map(); }; addLoadEvent(initializeZhGMPLG176); /*]]>*/

What is wrong here ????

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

More
7 years 7 months ago #10593 by Dima
Replied by Dima on topic Plugin shows a lot of codes ??
Hi.
Do you enter email into infowin content. It can cause this error. Can you give me link to your page?

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.

  • rbuelund
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 7 months ago #10600 by rbuelund
Replied by rbuelund on topic Plugin shows a lot of codes ??
No e-mail. Only things I've done is add the Google API and create one map - no more.

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

More
7 years 7 months ago #10601 by Dima
Replied by Dima on topic Plugin shows a lot of codes ??
Hi.
Do you have Rocket Template? or probably the Plugin System - RokBox?
If yes, try to disable this plugin and try again.
Without link to page I can't analyze where problem is.

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.

  • rbuelund
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 7 months ago - 7 years 7 months ago #10602 by rbuelund
Replied by rbuelund on topic Plugin shows a lot of codes ??
Here is the link:
Please delete it from this post again ! :-)

I use a Custom Protostar template no rocket at all
Last edit: 7 years 7 months ago by admin.

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

More
7 years 7 months ago #10603 by Dima
Replied by Dima on topic Plugin shows a lot of codes ??
Hi.
I checked it. Yes, it caused some system plugin.

The error the same as was with roket plugin.

I suggest you in admin panel set filter for not joomla core system plugins (enabled). And one by one
- disable
- check
- enable
And you'll find out which plugin has bug.

In page source you can see this code



It is like this post
forum.zhuk.cc/index.php/forum/gm-compone...-after-update-joomla

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

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

Time to create page: 0.129 seconds

Donate


Go to top