I am building a Wordpress site using both Gantry 4 and IDX. The problem is that the property map does not contain the listings.
Support at the IDX plugin maker suggested I disable all plugins and switch to the 2015 template to rule out plugins or template related issues. The map works fine with the 2015 template and all of non-Gantry plugins enabled, so it looks like Gantry is interfearing with the IDX plugin.
See: BROKEN LINK REMOVED (click on the map tab above the listings)
On the first link in Chrome or Mozilla go to Tools > Developer Tools and go to the Console Tab... you'll see this error:
Uncaught TypeError: Cannot read property 'getAttribution' of undefined
It references a line of code in what I presume to be your plugin developer's code... it certainly doesn't look like any of ours...
errors like this are typically the cause the order in which scripts on the site are loaded... namely jQuery and Mootools... ask your plugin developer which java libraries their plugin needs and what order they need to be loaded in...
There are a number of "jquery" plugins and various script conflict plugins that you can install in WordPress to control the order in which libraries and scripts are loaded... in some instances combining or compressing certain scripts can help as well.
We cannot guarantee our Themes will work with every 3rd party extension... but we'll help where we can... you might also trying removing ALL other widgets from that page except your IDX plugin content and see how it behaves... I doubt it's a conflict with the Theme or Gantry itself
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT
I did try disabling all plugins except Ganrty and IDX and that did not resolve the problem.
Disabling the Gantry plugin and switching to a different template did resolve the problem, so I can reasonably assume that it is a conflict between Ganrty and IDX preventing the map from working.
I have requested the IDX plugin maker to provide me with the list of libraries and the appropiate loading order. I also alerted them to the JavaScrpit error on the page.
I will get a plugin to manage the loading order for scripts and let you know if that resolves the problem.
Try ordering /wp-content/plugins/gantry/js/mootools.js before jQuery
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT
I don't have any specific recommendations though... but I would first try a few of those if it were me
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT