Viewing 26 posts - 1 through 26 (of 26 total)
  • Author
    Posts
  • #949016

    Hi,

    Seemingly similar to thread #947125.

    I have upgraded to Enfold v4.3 and now the google map widget I was using doesn’t show. I’m using a child theme with no general plugins or cache plugin etc. The issue is the same in Chrome and Firefox.

    I thought it might be something to do with the API key so got a new one – which validates in the child theme Google Services tab.

    I’ve tried changing the widget and re-saving but this doesn’t change anything.

    The strange thing is that the map does show if you go to Widgets – Manage with Live Preview.

    Any thoughts on why this is happening and how to fix it?

    #949054

    For further info. in case it makes any difference, the upgrade was done by downloading v4.3 and uploading via ftp.
    Thanks

    #949432

    Hi,

    Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #949504
    This reply has been marked as private.
    #949817

    Hello,

    I have the same issue, please post the solution here when you get it fixed.

    Thank you.

    Regards,
    panda

    #950206

    Same issue here. I resolved it desactivating the “Javascript file merging and compression” (when the map is in the page body) and desativating “Load jQuery in your footer” if the map is in widget.

    #950390

    Thanks arreguisergio. I’ve made sure that the ‘Javascript file merging and compression’ is deactivated but can’t see any options for the ‘Load jQuery in your footer’. Can you tell me where this is located?
    Thanks

    #950458

    Hi db777,

    The login detail you posted are not working, please check and verify. The Load jQuery in your footer is located under Enfold->Performance.

    Best regards,
    Rikard

    #950722

    Hi Rickard,

    I’ve reset the login info – see private info below. I’ve double checked it and it works.

    Regarding the ‘Load JQuery in your footer’ – I’m clearly missing something as I simply don’t see anything that says that in the Enfold Child – Performance tabs. I assume that this won’t be the issue anyway as the map is not in the footer but where exactly is this option? It’s not under any of the headings on that page – File compression, Disable Template Builder Elements, Disable Features.. none of them have it.

    Thanks

    #950987

    Hi,
    I’ve just read the latest blog post about optimisation. In the second section 4 (Oops) there is an image for the performance tab with a section title ‘Change WordPress Defaults’. There are then four items that have checkboxes. My installation doesn’t have the ‘Disable JQuery Migrate’ nor the ‘Load JQuery in your footer’ items. Is this part of the same issue as the Google Map?
    Thanks

    #951496

    Hi db777,

    Can you please reupdate Enfold via FTP and see if the options appear?

    Best regards,
    Victoria

    #951872

    I’ve reloaded the Enfold theme via FTP. All files successfully transferred. Now installed is version 4.3.1.

    There is absolutely no change. No Google Map on the Contact page of the website and the ‘Disable JQuery Migrate’ and ‘Load JQuery in your footer’ items are still missing from the Performance tab of Enfold Child on the back end.

    To clarify, there are still no caching plugins and I’ve cleared the browser before trying the site.

    • This reply was modified 6 years, 7 months ago by db777.
    #953044

    Hi db777,

    I asked my colleagues to have a look.

    This can be due to the code in your functions.php, why do you add the Google maps in there? There is no need for that.

    Best regards,
    Victoria

    #953408

    Hi,

    The ‘enqueue_google_maps_with_key’ function in the functions.php file was added a couple of years ago to get everything to work at that point. The code would have come from this forum or the code snippets section of this site.

    I’ve renamed the file by appending _old’ and put a clean functions.php in the child theme. I’ve left the Google Maps API key in the Enfold child theme settings.

    Absolutely no change to either the map or the Enfold Child – Performance tab.

    #953827

    Hey!

    I was told that is no plugins are not enabled, the jQuery loads in the footer by default and so that option is invisible.

    Best regards,
    Victoria

    #953834

    Okay, that’s fine. However, the original issue (and arguably more important one given it’s to the outside world) remains that the Google Map doesn’t load. What is the solution?

    Thanks for your help.

    #953910

    I’ve finally managed to get the map working – sort of. I had to delete the map I had, which was inside of a widget in a custom widget area, and create a new Google Map Media Element and firstly fetch the coordinates based on an address – then after saving it I went back in and changed the co-ordinates to the correct ones. It doesn’t explain though why it doesn’t work inside of a widget – any thoughts?

    • This reply was modified 6 years, 7 months ago by db777.
    #954365

    Hi db777,

    Now you can enable the Advanced Layout Builder debug mode, get the code for the map and try to paste it to the widget area.

    Best regards,
    Victoria

    #957132

    Hi, Thanks Victoria. I’ve re-made the widget using the shortcodes as suggested. This works!
    Very strange – the Enfold widget doesn’t and this shortcode version and the one off version do work. In case Keisi or someone elase wants to look I’ve done a private test page (‘Google Map Tests’) that has both the Enfold Google Map widget and the one generated by the shortcodes (login credentials given previously still work).

    Otherwise that covers it for now, thanks.

    #958435

    Hi,

    The map widget script renders right before jquery loads. We had to add this code in the functions.php file.

    if (!is_admin()) add_action("wp_enqueue_scripts", "avf_jquery_enqueue", 11);
    function avf_jquery_enqueue() {
       wp_deregister_script('jquery');
       wp_register_script('jquery', "//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js", false, null, false);
       wp_enqueue_script('jquery');
    }

    See private field.

    Best regards,
    Ismael

    #960058

    I have the same problem after Enfold Update 4.3.2 – Are there any solutions?

    Thanks,
    Thorsten

    • This reply was modified 6 years, 6 months ago by _TBO_.
    #960070

    Problem could be solved. Generate new Google Api-Key, map is displayed. I hope it stays that way

    #960474

    Ismael – Out of interest, is the additional code needed for all Enfold installs or just for my site / set up?

    _TBO_ / Thorsten – I’m glad that the new API key worked. If it fails again the work arounds described above (single map on a page then shortcodes copied in to the widget, or Ismael’s code) all worked for me.

    #961029

    Hi,

    I haven’t tested it on any other site aside from yours so I’m not sure if it is actually required. Please keep it for now. Do you have other sites with the same issue?

    Best regards,
    Ismael

    #961659

    Hi Ismael,
    No, just this site.

    #962943

    Hi,

    Alright. Thank you for the info. Please keep the modifications for now and update the theme to version 4.4 if you haven’t updated it yet. Open a new thread if you encounter the issue again.

    Thank you for using Enfold. :)

    Best regards,
    Ismael

Viewing 26 posts - 1 through 26 (of 26 total)
  • You must be logged in to reply to this topic.