• Resolved sjo007

    (@sjo007)


    Sadly I am finding that the latest version of 3.1.2 is not working whereas Ver 3.0.14 works fine.

    Url is: https://education.buildingsmart.org/ – clicking on a coloured country on the world map brings up Contact Info but when upgraded to 3.1.2 – there is no contact info – so have had to roll back.

    Using php Ver 7.1.23. Grateful for any advice on how to solve this.

    Many thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Miha

    (@mplusb)

    Hello @sjo007,

    This seems to be an incompatibility between that plugin and Fancy Box.
    Could you update Fancy Box again so we can investigate?
    We do not have that plugin in order to test it out on our end.

    Thank you,
    Mihaela

    • This reply was modified 5 years, 5 months ago by Miha.
    Thread Starter sjo007

    (@sjo007)

    Thanks.

    I installed Ver 3.1.3 but still had a problem with the pop up not appearing when clicking on a country with the Interacrtive World Maps Plugin so rolled back to 3.0.14 and all is well. The error found in the Console is below.

    Thanks for the help.

    Stephen

    Uncaught SyntaxError: Invalid or unexpected token
    content.js:1 Feedback rendered
    antiphishing.js:1 Sending APH request…
    (index):503 Uncaught TypeError: jQuery.fancybox is not a function
    at iwm_custom_action_5 ((index):503)
    at iwm_run_action (shortcode.js?ver=66:488)
    at shortcode.js?ver=66:310
    at Jv.eval (eval at <anonymous> (loader.js:243), <anonymous>:287:131)
    at Kv (eval at <anonymous> (loader.js:243), <anonymous>:243:369)
    at Jv.eval [as dispatchEvent] (eval at <anonymous> (loader.js:243), <anonymous>:242:315)
    at Iw (eval at <anonymous> (loader.js:243), <anonymous>:286:652)
    at gW.R.u$ (eval at <anonymous> (loader.js:243), <anonymous>:957:20)
    at $V.R.Hs (eval at <anonymous> (loader.js:243), <anonymous>:934:335)
    at $V.R.Toa (eval at <anonymous> (loader.js:243), <anonymous>:934:194)

    Thread Starter sjo007

    (@sjo007)

    Please let me know a time on Sunday 2 Dec or Monday 3 Dec and your time zone and I will upgrade to the latest version so you can see the problem with the Interactive World Map plugin where Fancybox is not working. Once you see it – I will then roll it back again so we keep the functionality on the web site.

    Many thanks for the help

    Stephen

    “IWM” is the “Interactive World Maps” plugin, right?

    In that plugin, there’s a Custom Javascript Action box, where you probably have code that worked with FancyBox v1, and it probably looks like,
    jQuery.fancybox({ content: value });

    Replace it with:
    $.fancybox.open(value);

    Thread Starter sjo007

    (@sjo007)

    Thank you so much for the reply. You are quite right that the jquery was in the Interactive World Maps Custom Javascript box. I have added your suggested code but sadly it is does working.

    I have updated Fancybox for WordPress to the latest version. On clicking the map – the pop up is still not appearing. The error in the Console is below saying it cannot read fancybox. The url of the site is:

    https://education.buildingsmart.org/ and the map is on the home page. Pops up do not open when a country that is coloured is clicked.

    Any help you can give to get this working again would be much appreciated.

    Thank you once again

    Stephen

    7(index):514 Uncaught TypeError: Cannot read property ‘fancybox’ of undefined
    at iwm_custom_action_5 ((index):514)
    at iwm_run_action (shortcode.js?ver=66:606)
    at shortcode.js?ver=66:331
    at Jv.eval (eval at <anonymous> (loader.js:243), <anonymous>:287:131)
    at Kv (eval at <anonymous> (loader.js:243), <anonymous>:243:369)
    at Jv.eval [as dispatchEvent] (eval at <anonymous> (loader.js:243), <anonymous>:242:315)
    at Iw (eval at <anonymous> (loader.js:243), <anonymous>:286:652)
    at gW.R.u$ (eval at <anonymous> (loader.js:243), <anonymous>:957:20)
    at $V.R.Hs (eval at <anonymous> (loader.js:243), <anonymous>:934:335)
    at $V.R.Toa (eval at <anonymous> (loader.js:243), <anonymous>:934:194)

    Thread Starter sjo007

    (@sjo007)

    All solved by the plugin author of Interactive World Maps (IWM). There is another later version of IWM that has this option built in rather than using the custom code.

    If you need the custom code to add it is jQuery.fancybox.open(value), and it works a treat.

    Please close this support ticket.

    Best wishes

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Had to roll back to Ver 3.0.14’ is closed to new replies.