Possible conflict with Gravity Forms and Google Maps Widger
When we set the map above the Gravity Form everything works as expected,
However when the map is below the Gravity Form there is a “jQuery is not defined” error generated.
You assistance with solving this would be appreciated, both set-ups are available if required.
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
2Through speaking with Rocketgenius the following changes worked:
1) Add the following filter to your theme’s functions.php
add_filter(“gform_init_scripts_footer”, “init_scripts”);
function init_scripts() {
return true;
}
2) Disable the script output from the advanced options
Hi CMEDigital
Glad to hear you found a solution. Just a few suggestions with that code:
1. All custom code should be added to a child theme rather than the theme’s functions.php. Any changes you make here will be overwritten when you update Vantage.
http://codex.wordpress.org/Child_Themes
2. All custom code you add to your child themes should be prefixed with vantage_child or something equivalent. This will prevent any possible conflicts with other plugins.
function vantage_child_gravity_init_scripts() { return true; } add_filter("gform_init_scripts_footer", "vantage_child_gravity_init_scripts");Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.