WordPress.org

Forums

Google Maps Widget
[resolved] Conflict with Fancybox Plugin (15 posts)

  1. hilrap
    Member
    Posted 2 years ago #

    Love this plugin, yet it seems to conflict with Easy FancyBox Plugin.. Any workaround for that?

    http://wordpress.org/extend/plugins/google-maps-widget/

  2. hilrap
    Member
    Posted 2 years ago #

    to resolve this issue, i removed the code on line 123 from "google-maps-widget.php" - now the Easy FancyBox Plugin can take over...

    But perhaps you can come up with a more elegant solution? ;)

  3. hilrap
    Member
    Posted 2 years ago #

    thus:

    // wp_enqueue_script('gmw-fancybox', plugins_url('/js/jquery.fancybox.pack.js', __FILE__), array('jquery'), GMW_VER, true);

  4. WebFactory
    Member
    Plugin Author

    Posted 2 years ago #

    Hi, sorry to hear you're having problems and thanks for the solution.
    We're going to name the enqueue script ("gmw-fancybox" at the moment) the same as it's named in the Easy FancyBox so it doesn't get included twice. But I have to check first if they're loading it properly or not.

    Cheers!

  5. redbird6_bri
    Member
    Posted 2 years ago #

    I did the same thing and the resolution worked. However my banner ends up in front of the image in the lightbox.
    Ideas?

  6. WebFactory
    Member
    Plugin Author

    Posted 2 years ago #

    Is it a Flash banner?

  7. redbird6_bri
    Member
    Posted 2 years ago #

    @WebFactory

    No it's not a flash banner. Just an image that covers the length of the top of the website. Here's our site.

    http://66.147.244.88/~redbird6/here/

    Currently the images will pop up in the fancybox but the larger images end up behind the banner (like on the current installations page in the gallery drop down).

    Google maps doesn't work right now b/c we changed line 123 of the .php file back trying to work backwards and see if it was something else. Any suggestions or help would be much appreciated. Thanks

  8. redbird6_bri
    Member
    Posted 2 years ago #

    @WebFactory
    You'll have to excuse me, we're currently running Easy Fancy Box, not Fancybox

  9. WebFactory
    Member
    Plugin Author

    Posted 2 years ago #

    Banner has a z-index of 9999 which is absolutely unnecessary.

  10. redbird6_bri
    Member
    Posted 2 years ago #

    I saw that, if I fix it on the parent theme and get an update, will that negate that change?

  11. WebFactory
    Member
    Plugin Author

    Posted 2 years ago #

    Probably so. Please note that we're only here for support related to our plugin ;)

  12. aundc
    Member
    Posted 2 years ago #

    @hilrap:
    wonderful idea to remove the codeline, now it works again! ;-)
    thanks a lot, this makes me happy!

  13. WebFactory
    Member
    Plugin Author

    Posted 2 years ago #

    :)

  14. errolw98
    Member
    Posted 1 year ago #

    Did fix in Post 3 to script and all works fine now.:)
    Thanks hilrap

  15. WebFactory
    Member
    Plugin Author

    Posted 1 year ago #

    Glad you got it working!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic