I am following your documentation to show have a custom post type CAMPING wit a location/address field. I want to show a map with the campings plotted on it and the list of campings on a page. Create custom field with address, created custom post type with that custom field. I created content template following your instructions with MAP (show map with campings) and VIEW (list of campings), MAP references the custom posts to get the addresses. Unfortunately the list is presented, but the map is completely hidden hidden link
I see the map in the Content Template, see screenshot explaining the structure, the MAP connecting to the VIEW BLOCK
I firs create a Google API key with proper functionality enabled following your documentation Map JS, Places API and Geocoding API. The API key validates properly.
I followed https://toolset.com/course-lesson/displaying-a-list-of-posts-on-a-map/ and basically I want the same as the example, only for campaigns instead of gyms.
I am running WordPress 6.7.2. with Astra theme and using Elementor Pro, all plugins are up-to-date, using latest Toolset version with Toolset Maps 2.1.3.
Hi,
Welcome to Toolset support.
WOuld you please test by having a minimal installation to see if there is no style or something hiding the map?
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except Toolset plugins.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.
Thanks.
Hi
I did as you suggested, with everything disabled and default theme...I got to create a page with the map showing. So I have 2 pages one with basic editor created (page ONE), one created with Elementor Pro (page TWO)
- After enabling Astra theme, page ONE works showing map and list of posts
- After enabling Elementor, page ONE works showing map and list of posts
- After enabling Elementor Pro, page ONE fails showing no map and page TWO fails showing no map, just the list of POSTS
So apparently Elementor Pro has a conflict with Toolset plugin, but no visible errors and don't think I see something in developer console.
Of course now Elementor Pro is still on:
- The page ONE = hidden link
- The page TWO = hidden link
If needed you can access the website as ADMIN, please let me know if that is convenient
Regards, Bart
Have playing around a bit, found that I can enable both Elementor and Elementor Pro ...and make it work BUT then I need to create the page without using Elementor and the ToolView widget offered for Elementor....
BUT I need to create in the regular WordPress editor and the Content Template block that's offer there.
I found the ToolView widget clashes with Elementor while the Content Template block works fine.
Of course I can try to work around it by creating one page using the WordPress editor and other template file for this single page, but that is significant work to make it have the menu, match layout etc and I have to double work for the one page
So I prefer that you give me some tips how to fix the situation with the ToolView widget with Elementor.
Sorry, I found out that the standard WordPress page using WordPress editor with the Content Template block will also not work WHEN the page template itself is depending on Elementor.
Only when you disable Elementor for that specific page using another plugin you get it working. While the other pages can still use Elementor.
Problem is that you need to manually recreate the layout matching regular pages in that specific page. And that's defeating the purpose of templates and themes.
To add, the previous pages I shared are useless and not working, not useful as reference.
The page hidden link shows the first steps to make my work around do the trick (disabled Elementor for this page only)...I still would like your standard solution work with Elementor
Hi,
Thank you for the details, the issue is that it is not possible to make a block editor feature work with Elementor.
But it is possible to use the legacy Toolset features which rely on shortcodes instead of WordPress block editors.
By that method you will be able to create a view that shows all the Map and stuff and then add the shortcode to Elementor.
To enable Toolset legacy mode:
- 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/
To create a Map page with legacy mode:
https://toolset.com/documentation/legacy-features/maps-plugin/
For more information on Toolset and Elementor usage:
https://toolset.com/course-lesson/using-toolset-with-elementor-page-builder/
Elementor developers also shared a documentation here:
hidden link
Thanks.
Hi
Thanks for the info and I got the maps working, although I think I can still improve. Especially around the presentation (styling), SEARCH and PAGINATION.
But it's acceptable for starters hidden link and I have an understanding where to look and tune most of the stuff.
As a final note without enough knowledge about the code and complexity of the dependency between Toolset and Elementor. It would be nice if the integration could be more standard as the process to make everything look good asks for more tuning in various places e.g. having the correct layout, padding etc. Basically using a Content Template and use the Toolset View block in Elementor
Hi,
Thank you for your feedback, I will inform the development team about your feedback.
thanks.
I couldn't solve the issue myself even with looking at various other posts. So I really needed the help of support. The support was helpful and got my issue resolved quickly.