• Resolved armandorose1986

    (@armandorose1986)


    I was wondering if you could provide some insight. I would like to implement your basic version Contact Form Builder into a WordPress installation with the Avada Theme (Fusion). When I try to add the built in Google Map along with your Contact Form, the javascript for the Google Map breaks and does not display the map.

    If I deactivate your plugin, the map displays perfectly.

    Do you have any ideas for modification within your plugin to prevent this from happening, so I can utilize both the native Google map and your plugin together?

    Thank you,

Viewing 1 replies (of 1 total)
  • Hello @armandorose1986!

    Thank you for posting your request!

    Here’s how you can disable Google Maps API from Contact Form Builder. This will most probably fix the problem.

    Please open /contact-form-builder/contact-form-builder.php file and find contact_form_maker_front_end_scripts function.

    Comment the following line:
    wp_register_script('gmap_form_api', 'https://maps.google.com/maps/api/js?v=3.exp&key=' . $map_key);

    Afterwards open /contact-form-builder/frontend/views/CFMViewForm_maker.php and comment this line as well:
    wp_enqueue_script('gmap_form_api');

    Let us know if this works.
    Thanks! Have a good day!

Viewing 1 replies (of 1 total)
  • The topic ‘Hello’ is closed to new replies.