Support » Plugin: Modal Dialog » [Plugin: Modal Dialog] Modal box won't load

Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    Hi Darryl,

    Running Firebug on the page, there seem to be a number of problems with the javascript. First, it is complaining about bad syntax around the jQuery append call that you have in your header. Then it talks about Cufon not existing for your superfish menu. And finally, it gets in an endless loop through a recursive function that keeps looping forever.

    Once you resolve these issues, you will likely see the dialog.

    Yannick

    Thanks for the quick reply, and troubleshooting Yannick. I’ve sent your reply to the theme developer to address the issues which will hopefully then allow the modal box to be invoked.

    Hi Yannick,
    I’ve been asked to implement a modal-dialog function for a client and I figured that your plugin would be the best route. However I can’t seem to get the plugin to work correctly. The dialog content is not being loaded at all.
    The site is a mess but I don’t think there’s any duplicate jQuery files being loaded.
    Would you mind taking a look at the site to see if you can figure out what’s going on
    http://www.ostersundsfk.se/?page_id=232

    Thanks for a great plugin.

    Mikael

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Hi Mikael,

    Did you change to a different modal dialog plugin? Because I saw a dialog come up when I just visited that page.

    Perhaps you had a problem at first, but the cookie was still set. Try removing cookies for your site to see.

    Yannick

    No I got it working perfectly. The MailPress sign-up widget loaded it’s own jquery and that was the problem. Didn’t see it at first since it wasn’t loaded in the head.

    Thanks so much for getting back to me so promptly and thanks again for a great plugin.

    Mikael

    Hi Yannick, sorry to say that the plugin isn’t working on my website either and can’t seem to find the problem. I used to get it working a while ago but it has stopped for now. If you have time, could you have a look at it please? Website is http://www.paulolyslager.com.

    Cheers,
    Paul

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Hi Paul,

    I see that you are loading a second copy of jQuery somewhere in your code:

    jQuery.loadAsync('http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js');

    This will definitely mess up Modal Dialog.

    Yannick

    Hi Yannick, that did the trick alright. I thought that by loading the script async it wouldn’t mess up de Modal Dialog. Unfortunately I need to load the script for other things on the website. Is there a way around to make your plugin work without taking out the jQuery separately ?

    Cheers,
    Paul

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Hi Paul,

    Why do you need to load another copy of jQuery? Since Modal Dialog already loads the copy of jQuery that comes with WordPress in memory, you can use this one without loading your own.

    Yannick

    The reason is that I would like to have all the scripts loaded async if possible. What will happen if your scripts (fancybox, cookie, jQuery) are loaded async? Will the plugin still work?

    I was having problems with wp-superpop and someone suggested I switch to modal dialog. I wanted to be able to serve some off-site images on the pop-up…which I can’t figure out.

    I also think my theme may not work with this plug-in …It’s called Flexibility 3.

    I forgot to include my blog address: http://cherylkissell.com And searching the index page source I found 6 instances of the jQuery…so I guess that excludes me from using your pop-up. Can’t get ANY answers from the theme developer.

    Hi Yannick,

    I took out the extra jquery line in my footer, disabled all plugins (except yours) and the modal dialog is still not popping up? Could you please have another look on http://www.paulolyslager.com ?

    Thanks a lot!

    Paul

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Hi Paul,

    From what I can see of your site code, I think that your theme is missing a call to wp_head() in its header.php file.

    Normally, you would see a line with the php start and end tag, around a call to wp_head(); in the header. That call allows plugins to get extra things loaded on your site, such as jQuery or other javascripts. Since I am not seeing these scripts loaded by Modal Dialog, I think this is missing.

    If you need help adding this line, I could do it with access to your site’s admin page.

    Let me know if this resolves the issue.

    Yannick

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Hi Cheryl,

    Sorry for the late response. I am slowly catching up to many months of heads-down work. I see you no longer have Modal Dialog active on your site. Please let me know if you would still like me to look into the issue.

    I will need the site to be reactivated to do so.

    Yannick

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘[Plugin: Modal Dialog] Modal box won't load’ is closed to new replies.