windows.addevent error after Upgrade from J3.10 to J4.4

  • Hoschie
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 1 month ago - 1 year 1 month ago #15162 by Hoschie
Hi Dima,
as mentioned in the older post, I face the Problems, that no maps were displayed after the upgrade.
Links are (old Site fully funtionell example) and (environment for update J4.4 - thats the reason due to http)
Instead of a map I see the header-text of a componemt map. Otherwise I see also no map at  (Component Map)
What I get, is the JS error:
Uncaught TypeError: window.addEvent is not a function
    <anonymous>
My versions are:
Zh GoogleMap 17.23.10.25
Zh GoogleMap Modul 9.23.10.25
Zh GoogleMap Package 17.23.10.25
Zh GoogleMap Plugin 9.23.10.25
Zh Template Map FullScreen 2.23.10.25

Thanks in advance                                                    

"Links removed"
Last edit: 1 year 1 month ago by Hoschie.

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

More
1 year 1 month ago #15163 by Dima
Hi
In component option change "Map Initialization Type"
from domready to "onload" or "JQuery ready event"

If you decided to use JQuery (by default it is disabled in joomla 4) you can enable it in options "Load JQuery" to "Joomla".

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.

  • Hoschie
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 1 month ago #15164 by Hoschie
Grea!
Works for now with the maps, but got still the header text in addition to the plugin maps.
Any Idea?

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

More
1 year 1 month ago - 1 year 1 month ago #15165 by Dima
I don't understand you about what text.

You can see in console messages about google maps api want callback function.
Just check last version of extension.

And go to plugins, find plugin started with zh and disable plugin plg_zhgooglemap. And you will only have plgzhgooglemap enabled plugin

After that uninstall this disabled plugin (it is only for j3 version) - go to manage, find disabled plugin and uninstall it.

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 1 year 1 month ago by Dima.

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

  • Hoschie
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 1 month ago - 1 year 1 month ago #15166 by Hoschie
Well,maybe the screenshot can help me to describe this.The text section in this screenshot should not be displayed, equal to the old version at It should only be visible in the big map (see at Screenshot 2)It works perfectly in J3.10 but I did not see the reason why.Thanks a lot for your support."Links removed"
Last edit: 1 year 1 month ago by Hoschie.

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

More
1 year 1 month ago - 1 year 1 month ago #15167 by Dima
I can't see that in your page. 

Don't forget support my developments: post review in JED , donate , help with translation ;)
Attachments:
Last edit: 1 year 1 month ago by Dima.

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

Time to create page: 0.353 seconds
Powered by Kunena Forum