Skip Navigation

[Resolved] Open view content map into a modal

This support ticket is created 2 years, 4 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
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9: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: Africa/Casablanca (GMT+01:00)

This topic contains 1 reply, has 2 voices.

Last updated by Jamal 2 years, 4 months ago.

Assisted by: Jamal.

Author
Posts
#2233185

Hi,

I am developping a dynamic map for a client, wich needs to link custom post types (books) to the map depending where there were published.
I need to see a short resume of the book (the pop-up content) and a modal option where almost all the content of the linked post appears. The idea is to see a lot of details about the book without leave the map.

You can see an example of what I'm explaining here : hidden link
You can click on the "+" into the popup or click on "douce, douce vengeance" on the books list.

Is there a way to do that quite simply with toolset map ?

The dev environment is hidden link

Best regards,

#2233395

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello and thank you for contacting the Toolset support.

I think it could be possible, but it might need some custom code. Toolset markers have titles and popups. The title is displayed on mouse hover, and the popup is open on click. Custom code will be needed to open the marker's popup without waiting for the user's click. You can trigger a click event on the marker with jQuery's trigger('click') function.

Regarding the modal windows, Toolset may include version 3 or 4 of the Twitter Bootstrap framework. You can rely on the modal's feature from the version of the framework of your choice. Put the button to trigger the modal inside the marker's popup.
- hidden link
- hidden link

I hope this helps. Let me know if you have any questions.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.