Skip Navigation

[Gelöst] Maps -> Marker -> Popup

This support ticket is created vor 3 Jahre, 3 Monate. There's a good chance that you are reading advice that it now obsolete.

Dies ist das technische Support-Forum für Toolset – eine Suite von Plugins zur Entwicklung von WordPress-Websites ohne PHP-Pogrammierung.

Jeder kann in diesem Forum lesen, aber nur Toolset-Kunden können darin Beiträge veröffentlichen. Der Toolset-Support arbeitet 6 Tage pro Woche, 19 Stunden pro Tag.

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 7 Antworten, has 2 Stimmen.

Last updated by martinB-16 vor 3 Jahre, 3 Monate.

Assigned support staff: Minesh.

Author
Artikel
#1661539

Hallo,
ich habe mir Toolset neu und bin bisher begeistert.
Derzeit beschäftige ich mich mit de Plugin "Maps". Ich habe es auch schon hinbekommen in einer Karte mehrere Marker auf Basis einer View anzuzeigen.
Was ich aber noch suche ist, dass ich bei Klick auf einen Marker ein Popup mit dynamischen Daten (aus dem erzeugenden Beitrag) angezeigt bekomme. Trotz intensiver Suche habe ich dies nicht gefunden.
Das es irgendwie funktionieren muss, zeigt mir das Beispiel auf dieser Seite:
https://toolset.com/wp-content/uploads/2019/03/maps_13_post_fields.png

#1661543

Hi,
I have a new toolset and have been enthusiastic so far.
I am currently working on the "Maps" plugin. I have already managed to display several markers in one map based on a view.
But what I'm still looking for is that when I click on a marker, I get a popup with dynamic data (from the generating post). Despite an intensive search, I have not found this.
The example on this page shows me that it has to work somehow:
https://toolset.com/wp-content/uploads/2019/03/maps_13_post_fields.png

#1662699

Minesh
Supporter

Languages: Englisch (English )

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

Hello. Thank you for contacting the Toolset support.

If you are using Map block - map block offers the place "Pop-up content" at bottom right part of right sidebar where map options displays as you can see with the following screenshot - you can add your dynamic marker popup content to that section.
=> https://toolset.com/wp-content/uploads/2019/11/maps-view-as-the-source.png

If you are using the classic views to display the map, here is the guide how you can add marker popup content.
=> https://toolset.com/documentation/user-guides/maps/display-on-google-maps/displaying-markers-on-google-maps/#marker-title-and-popup

#1663943

Thank you for your reply.
But that's not what I mean.
How can I dynamically populate a marker popup with data from the post?
Here is the example again:
https://toolset.com/wp-content/uploads/2019/03/maps_13_post_fields.png

#1664309

Minesh
Supporter

Languages: Englisch (English )

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

I understand what you are saying.

When you click on the "Edit" link available just besides the "Pop-up content" section, when you click on that "Edit" link it will offer you popup where you can add the shortcode to display the dynamic content and you can add those shortcodes by clicking on the "Fields and Views" button icon as shown with the following screenshot.
=> hidden link

I hope this information will help you to resolve your issue.

#1664619

Hi
I know that, but there I can "only" insert fields, but no blocks.
Do I have to do the formatting myself with html / css at this point?

#1664737

Minesh
Supporter

Languages: Englisch (English )

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

I know that, but there I can "only" insert fields, but no blocks.
=>
Yes, thats correct. You are not able to use the blocks there directly within the "Pop-up content" section.

But I think I have workaround to share:
- You should create a content template using blocks and design that as per your requirement and save it
- Then, go to your map blocks Popup content section and click on "Edit" link that will offer you the popup for editing
- Then, click on "Fields and Views" icon and from the section "Content Templates" select the content template you created
- save your popup content.

Do I have to do the formatting myself with html / css at this point?
- If above solution does not work for you, you should go ahead and design with html / css as per your requirement.

#1665719

Thank you. That was it.
My problem was that I had assigned my templates to post types. That is why they were not offered for insertion.
Many thanks for the help

Das Forum „Toolset Professioneller Support“ ist für neue Themen und Antworten geschlossen.