Skip Navigation

[Resolved] Map Popup!

This support ticket is created 3 years, 1 month 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 9 replies, has 3 voices.

Last updated by Shane 3 years, 1 month ago.

Assisted by: Shane.

Author
Posts
#2300907
Aa Toolset  2.png
Aa Toolset 1.png

Hi there,

We've always used Legacy, dare I say it's far easier.

I thought blocks was 'supposed' to be more straightforward!

What on earth do we add to get a popup showing on a map pin please?

This page offers very little to nothing about what you actually add! Simple HTML???? What do we have to add?
https://toolset.com/lesson-placement/lesson-placements-1622939-1620853/#add-marker-pop-up-content-and-hover-hints

With legacy we have used straightforward code to have the feature image, title under and this when clicked opens up the custom post type. Simple.

How do we recreate this using the far more 'user friendly' (not) blocks please?
Very frustrating and the lack of info is the main reason we do not use Blocks!

Thank you.

#2301279

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Pete,

Thanks for getting in touch.

Based on your screenshots i can see that you've already grasp the concept of how to populate the marker popup. However if i've misunderstood the issue please let me know and provide a bit more clarity for me.

Thanks,
Shane

#2304441
aa TS Map.png

Hi Shane.

Thank you for getting back to me, hope you had a nice weekend.

Oh! Ok...had no idea what I was doing is the right direction.
So if as the screen grab shows, I'm populating the Popup content for the map pins...this using the little icon to the top left of the box.

If this 'is' right...why on this map is nothing popping up?
hidden link

Ideally I'm after the post image, post name and area....this when clicked links to the post.

Any thoughts please? Thanks again, Pete

#2304923

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Pete,

That's quite odd as it should pop up given that you've populated the popup information correctly.

Would you mind providing me with admin access to this page so that I can assess the issue better?

Thanks,
Shane

#2305157

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Pete,

Thank you for the credentials.

However they don't seem to work. Can you check them on your end and let me know if you can log in with them.

Thanks,
Shane

#2305207

Hi Shane,

Sorry, not sure what was the issue. Try the Admin URL and new Pass and see how you get on...I tested and worked fine for me.

Thank you. P

#2305253

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Pete,

This should now be working.

I took a look at the problem was that you had 2 markers attached to the map but the 2nd marker wasn't connected to any view data and this is where you added the code for the marker.

What I did was to remove that second marker and added your code to the first marker.

Please let me know if everything is ok now.

Thanks,
Shane

#2306603
aa plz see.png

He Shane,

Thanks for looking into this for me. Ok great!

You said I had two markers...did you remove one? I don't understand. Just wanting to be clear in-case we use this moving forward and need to replicate.

Also, on popups where the property name is long (see attached) is there a way of making this wrap so the text never gets wider than the image width?

I messed with all kinds of CSS and can't for the life of me get this sorted.

Many thanks again, Pete

#2306683

Minesh
Supporter

Languages: English (English )

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

Shane is on Holiday today he will get back to work tomorrow, He will continue to help you tomorrow. Please standby.

#2307577

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2022-03-03 at 8.58.11 AM.png

Hi Pete,

What i meant is right here. See Screenshot.

You may have clicked the add marker button a second time to add a second marker to the map. However this marker was not given any address data to list on the map.

It would appear that you've added the popup information to the 2nd marker that was created that wasn't listed on the map. So what I did was to remove this second redundant marker and then copy your code to the first marker ie marker-31

Please let me know if this provides a bit more clarity for you.

Thanks,
Shane