Plugin shows a lot of codes ??

  • rbuelund
  • rbuelund's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 5 months ago #10592 by rbuelund
rbuelund created the topic: Plugin shows a lot of codes ??
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
1 year 5 months ago #10593 by Dima
Dima replied the 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 ;)

Post your sites as examples into my directory
Zh GoogleMap: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Zh YandexMap: forum.zhuk.cc/index.php/forum/ym-user-s-sites

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

  • rbuelund
  • rbuelund's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 5 months ago #10600 by rbuelund
rbuelund replied the 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
1 year 5 months ago #10601 by Dima
Dima replied the 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 ;)

Post your sites as examples into my directory
Zh GoogleMap: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Zh YandexMap: forum.zhuk.cc/index.php/forum/ym-user-s-sites

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

  • rbuelund
  • rbuelund's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 5 months ago - 1 year 5 months ago #10602 by rbuelund
rbuelund replied the 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: 1 year 5 months ago by admin.

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

More
1 year 5 months ago #10603 by Dima
Dima replied the 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 ;)

Post your sites as examples into my directory
Zh GoogleMap: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Zh YandexMap: forum.zhuk.cc/index.php/forum/ym-user-s-sites
Attachments:

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

Time to create page: 0.053 seconds

Donate


Go to top