Skip Navigation

[Resolved] Map not showing popups on frontend, works in admin

This support ticket is created 4 years, 12 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 11 replies, has 2 voices.

Last updated by humanizaS 4 years, 11 months ago.

Assisted by: Minesh.

Author
Posts
#1674599
2-not-working-frontend.png
1-working-backend.png

Hi, I have a map linked with custom posts, showing the localization of some events. On admin (Gutemberg edit page) I set the popup to display post link and thumbnail, and I can click on the markers and see it work.
But when I try to replicate the same behaviour in frontend, the markers don't respond to the clicks, and never display the popup.

There are no errors in javascript console, anything seems to be wrong (I repeat, works in backend)
Can you help me?

I attach two captures, one working on admin, the other not working on frontend.

You can see it in action here:
hidden link

Everything is updated to last version. WordPress, Plugins, Themes.

#1674801

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Yes, Can you please share access details so I can check what's going wrong with your map block and why the marker popup is not working.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#1676105

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Yes - I can see the issue that when you display the map on frontend it does not display the marker popup when you click on any marker icon.

I just ran a test with my test site where only Toolset plugins active - and I'm not able to reproduce the issue. When I click on marker icon it successfully displays the marker popup when I click on any marker icon.
=> hidden link

I see on your install, you are using outdated WPML plugins, Can you please update ALL plugins to latest release and check if that help you to resolve your issue: If no:
- In order to minimise the cause of the issue and to ensure there is no plugin/theme conflict:

Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes? - Do you see any difference?

#1676809

Hi,
OK now the web is with the Twenty Twenty theme, and all plugins have been disabled except Toolset and WPML.
WPML has been updated.

It still doesn't work.

Can you take a look now?
hidden link

Thank you.

#1680017

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

That is really strange. I'm taking the duplicator copy of your site for further debugging to check whats going wrong here.

I will get in touch with you as soon as I know more.

#1680309

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I checked with the duplicator package and it seems there is some issue, the strange thing is that if you change the language to English on the frontend, the marker popup does works.

I'll report this issue for further investigation to our next level support, please hold on for further updates.

#1680313

Hi, thank you for your time and dedication to solve the issue, i'll keep waiting for your solution.

Regards.

#1680603

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

As we are not able to reproduce the issue with our test site we investigated further and we found that you have number of copy of the same view "Propostes sostenibles"
=> hidden link

What if you try to delete all those non-used copy of your block view and delete your current problem page:
=> hidden link

And then try to add a new page and view, please make sure that you should use the same view on your translated pages as well. Is this your test site? If yes, please let me know, I will try to apply the said steps.

#1684689

Hi,
We have removed all copys of the view (were not used anyway)
We have created a new page:
hidden link

This page is a blank page, only with the "Propostes sostenibles" view added. Still the same behaviour.

What's extra strange, is that if you click on a google maps interest point, it shows popup, but not on our markers.

#1688719

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please check now: hidden link

I've created a brand new test page and brand new view and with this brand new test page and view I can see the marker popup working as expected.

I suggest you should delete your current view and rebuild it and that should help you to resolve your issue.

#1693067

Hi,
I just wanted to say what was the cause of our problem, as we finally discovered it.
On the failing page, we were hiding the page title via CSS.

So it seems that the popup map box uses the same class, and it was hidden by the same css rule.

Removing the css rule made it work again. So it is now solved. Thank you for your time.

#1693069

My issue is resolved now. Thank you!