[Gelöst] maps markers don't show up if view is inside a wp-template
This support ticket is created vor 5 Jahren, 9 Monaten. 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.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
Please send us access to your WordPress dashboard (website URL, login and password), we need to check how these views are set. - Please use the private field to send the sensitive data - do not post if you do not see it.
It would be better if you give me a test site rather than the live site.
IMPORTANT Please backup a working copy of site files and database before.
Hello alexanderL - This is Minesh here and I'll take care of this ticket and try to help you further. Hope this is OK.
Well - I checked the view you ask us to check:
=> versteckter Link
But I do not see any content template is assigned to view. And I see with the content template there are number of view's added to it.
-=> versteckter Link
Can you please tell me which marker is not displaying exactly where.
we changed the home site in the meantime. However the issue persists on other parts of the webiste where we are using wp-types template to display views.
Like here: versteckter Link
This is template "Stadt-Template" (id: 1050) displaying view "Stadt-View" (id: 1048).
The map displays west africa, gulf of guinea instead of the part with markers. Only if you click on a filter like "casino" to filter markers, the map shows the markers right. That only happens if the view is in a template. Without template (only using the view-shortcode), the map is working.
page 1 works great. The view is in default page editor and markers are shown in the map
page 2 doesnt work. The view is in template and the page refers to this template. So map is showing but without markers.
I dont get any js-errors or any other kind of error messages. What can it be?
Well - thank you for those links but the thing is that when I checked with the minimum installation only Toolet plugins installed and with the default theme, I do not able to reproduce the issue. Again, I checked with one of my colleague even he is not able to reproduce the issue.
I found that when I visit this page: versteckter Link
The generated map's ID is "js-wpv-addon-maps-render-map-8-1" that is incorrect but the correct map Id is "js-wpv-addon-maps-render-map-8"
Where as if you visit this page: versteckter Link
The map ID generated is correctly that is "js-wpv-addon-maps-render-map-8".
So steps to follow now is:
- 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?
You were right, it works without third-party plugins. I also found the bad one. It is "YOAST SEO".
Do you have any idea why toolset maps is not working with yoast?
Is there any compatibility setting which i oversee to check?