I installed this module on a clean 6.16 install with jquery_update and jquery_ui 1.7, and every time I tried to open a dialog login window the popup showed for 2 seconds, and then redirected to the page proper. I replaced jquery 1.7 with 1.6 and made the changed specified here: #714922: Wrong Jquery.ui css path (for jquery 1.6) and it now works as expected.

It doesn't sounds like anyone else has had this issue, but it occurred for me in FF 3.6, chrome, IE8.

CommentFileSizeAuthor
#13 patch_804002.patch634 bytescyberschorsch
#12 dialog.module.patch490 bytesivrh

Comments

johnhanley’s picture

Confirmed. I'm experiencing the same redirect behavior described w/ jQuery UI 1.7.

Michsk’s picture

i'm not redirected tough the theme does not work, but that is a easy fix. But i am not redirected. Login and register don't work tough...

amitaibu’s picture

> Login and register don't work tough...

Make sure you try it when anonymous user.

Anonymous’s picture

Some of this may have to do with jquery_update.

  1. When I use jquery_update 6.x-2.x-dev, dialog works.
  2. When I download with Drush, I of course get the supported version, 6.x-1.1. When using this version, none of the dialogs worked. When I then replaced 6.x-1.1 with the dev version, dialogs worked again.

As far as I could see, this isn't documented in any of the READMEs, but I may have missed it.

lelizondo’s picture

in my case, I had to do this to make it work:

1. Dialog 1.x-dev (2010-Aug-13)
2. Jquery_UI 1.4 (module)
3. Jquery UI Library 1.7.3
4. Jquery Update 6.x-2.x-dev (2010-Sep-09)
5. Ctools 1.x-dev (2010-Oct-15)

And now it works.

just_fixed_it’s picture

Is this info still up to date? Is this the current recommended recipe?

On the jquery ui website http://jqueryui.com it says this about versions of jquery ui & jquery

Stable: jquery ui v1.8.7, with jquery v1.3.2+
Legacy: jquery ui v1.7.3, with jquery v1.3+

Does anyone have any more info on this?

Cheers, Aaron

drewish’s picture

Status: Active » Fixed

We're using it with 1.7 and haven't had any issues. As far as I know there's not a version of jquery_ui.module that supports 1.8. Once that changes we can ensure that Dialog is compatible with it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

paskainos’s picture

@lelizondo: 3. Jquery UI Library 1.7.3 switch worked like a charm for me too.

mbhnyc’s picture

Hmmm, wondering if this is related to an issue I'm seeing currently:

I have slightly updated versions of the below installed:

1. Dialog 1.x-dev (2011-Mar-14)
2. Jquery_UI 1.5 (module)
3. Jquery UI Library 1.7.3 (installed in a few places, should it be in libraries — as requested by the status page— /jquery-ui/jquery.ui or both??)
4. Jquery Update 6.x-2.x-dev (2011-Apr-19)
5. Ctools 1.x-dev (2011-Jul-14)

And now am seeing an interesting issue where SOME dialogs give me this error:

Unable to complete operation. Fatal error in /home/webuser/public_html/xxx/public/sites/all/modules/profiles/dialog/dialog.module on line 167: Call to undefined function ctools_ajax_command_settings()

And others appear correctly but with styles mis-applied. (no background, for example)

Note though that this error came up WHILE I was trying to fix the exact error in this thread - links redirecting instead of popping the dialog.

Any thoughts on this? Would really appreciate any responses - as this is the last nagging issue that's preventing a big push.

Thanks!

mbhnyc’s picture

Ok, made some progress - jquery UI didn't seem to be including correctly, followed the instructions here:

http://blog.houen.net/drupal-jquery-ui-complete-guide/

Which helped a GREAT DEAL. Now a few of my fields have mysteriously disappeared. Ha! Almost there though...

ivrh’s picture

Status: Closed (fixed) » Needs review
Issue tags: +dialog ctools_ajax_command_settings
StatusFileSize
new490 bytes

For those still getting Fatal error in .../sites/all/modules/profiles/dialog/dialog.module on line 167: Call to undefined function ctools_ajax_command_settings() - here's the patch.

Nicely and safely loading missing ajax.inc file

cyberschorsch’s picture

StatusFileSize
new634 bytes

I made a patch which adds the correct jquery_ui library path to the drupal_add_css function.

arpas’s picture

Priority: Normal » Major
Status: Needs review » Needs work

Wrong jQuery UI css path (for jquery 1.7). I found issues JQUERY_UI_PATH missing. Need to include #13 path in final 6.x module release.

devin carlson’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)

Dialog 6.x is no longer supported.