Skip Navigation

[Resolved] Inserting toolset map using view loop output into a page built with Divi builder

This thread is resolved. Here is a description of the problem and solution.

Problem:

I have designed a toolset map using a view loop output in the WordPress blocks editor. I want to insert this map into pages designed with the Divi page builder, but I am unsure how to do this since the Divi Toolset Views module only allows selecting the view providing data to the map.

Solution:

Enable the legacy views which are shortcode-based to add the map and view to the Divi builder. Go to "Toolset > Settings > General", check "Show both the legacy and Blocks interface and let me choose which to use for each item I build", reload the page, then go to "Toolset > Views" to edit the views.

Relevant Documentation:

https://toolset.com/course-lesson/enabling-legacy-version-of-toolset-views/

https://toolset.com/documentation/legacy-features/views-plugin/

https://toolset.com/documentation/legacy-features/maps-plugin/

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.

This topic contains 1 reply, has 2 voices.

Last updated by Christopher Amirian 5 months, 1 week ago.

Assisted by: Christopher Amirian.

Author
Posts
#2707732

I have designed a toolset map that uses a view loop output as the data source for the locations shown on the map. The view providing the data and the map reside inside a single toolset container. Currently this design resides in a WordPress page designed with the WordPress blocks editor.

However, the majority of this WordPress site has been designed using the Divi page builder. The map I have designed is one that I want to appear on multiple (not all) pages, including ones designed with Divi. Can you advise how I can insert the toolset map into a Divi page layout, e.g. is there someway I can generate a shortcode to the parent toolset container? I do have the Divi Toolset Views module available but that only allows me to select the view that is providing data to the map. I have tried to create the map inside the view but this is prohibited.

Thanks for your help.
Nick

#2707735

Christopher Amirian
Supporter

Languages: English (English )

Hi Nick,

You will not be able to use the block editor to insert the Toolset blocks into Divi.

Instead, you need to enable the legacy views which is shortcode based and then you can add the map and view to the Divi builder.

- Go to "Toolset > Settings > General".
- Find the "Editing experience" section.
- Check the "Show both the legacy and Blocks interface and let me choose which to use for each item I build" checkbox.
- Reload the browser page.
- Go to the newly added "Toolset > Views" menu.
- There you will be able to edit the views.

For more information:
https://toolset.com/course-lesson/enabling-legacy-version-of-toolset-views/

After that please check how to create views and use maps in legacy mode:

https://toolset.com/documentation/legacy-features/views-plugin/

https://toolset.com/documentation/legacy-features/maps-plugin/

Thanks.

#2708027

Thanks. As you suggest, using the legacy view editor allows this. All working now. Thanks again.