I’m afraid Event Organiser doesn’t support that. However, I’ve found the cause of the conflict. Page Google Maps loads a library (underscore and backbone) which already exists in WordPress ( as of 3.5 if I recall correctly). So both Page Google Maps and WordPress are loading the library, causing a conflict. Event Organiser uses this library for the venue markers.
A (temporary) fix is simple, first comment out lines 214 and 215 of page-google-map.php
. In particular:
/**
* Register scripts common to admin adn frontend
*/
private function register_core_scripts_and_styles() {
$lib_bundle = array(
//Core dependencies (libs)
array('https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false', false),
'js/lib/underscore-min.js',
'js/lib/backbone-min.js',
);
pgm_ResourceLoader::instance()->load_js_bundle($lib_bundle);
Should become this:
/**
* Register scripts common to admin adn frontend
*/
private function register_core_scripts_and_styles() {
$lib_bundle = array(
//Core dependencies (libs)
array('https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false', false),
//'js/lib/underscore-min.js',
//'js/lib/backbone-min.js',
);
pgm_ResourceLoader::instance()->load_js_bundle($lib_bundle);
Next add ‘backbone’ and ‘underscore’ to the list of dependencies in class/pgm-resource.loader.php
(lines 65-73), is:
$dependencies = array(
'jquery',
'jquery-ui-accordion',
'jquery-ui-spinner',
'jquery-ui-slider',
'jquery-ui-tabs',
'jquery-ui-dialog',
'jquery-ui-autocomplete',
);
and should be changed to this:
$dependencies = array(
'jquery',
'jquery-ui-accordion',
'jquery-ui-spinner',
'jquery-ui-slider',
'jquery-ui-tabs',
'jquery-ui-dialog',
'jquery-ui-autocomplete',
'underscore',
'backbone'
);
I’ve notified the plug-in author here: http://wordpress.org/support/topic/conflict-with-event-organiser-venue-markers-wp38?replies=1#post-5236656