In dialog.module you're trying to load the jquery.ui css using this path:
drupal_add_css(JQUERY_UI_PATH .'/themes/base/ui.all.css');
But the real path is:
drupal_add_css(JQUERY_UI_PATH .'/themes/default/ui.all.css');
Using the recommended version of both modules. jquery_ui (6.x-1.3) and dialog (6.x-1.x-dev)
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | dialog-css-path.patch | 602 bytes | amitaibu |
Comments
Comment #1
Oleksa-1 commentedNot sure is this related.
When I tested dialog_comments, on pages with comments in any version of IE browser, It looks like css files do not work, even in garland theme (I have naked theme, without css styles). In all another browsers (firefox, mozilla) it works fine, but not in IE.
And problem exactly with this string
drupal_add_css(JQUERY_UI_PATH .'/themes/base/ui.all.css');
if I remove it than page again has its theme style. (I tried to change 'base' for 'default' - no result)
UPD (closed):
Looks like I had problem with theme rebuild
Comment #2
miraclestyle commentedI can confirm this issue. After changing:
to
the dialog interface changed, and looks as expected.
Elvin.
Comment #3
entrigan commentedconfirming and moving to critical. Thanks antoniofcano
Comment #4
entrigan commentedon further review "/themes/base/ui.all.css" is proper for jquery_ui 1.7 (which is the modules intended jquery_ui release).
"/themes/default/ui.all.css" is proper for 1.6, but then a few other things are slightly broken in 1.6, so I suppose use 1.7 where possible.
The 1.7 dependence should probably be documented in the readme.txt
Comment #5
vm commentedThis does seem to be stated in the readme.
Comment #7
amitaibuLet's be a little nicer with this, and do it automatically...
Comment #8
johnhanley commentedIronically (despite the dependency) jQuery UI 1.7 doesn't work with Dialog API.
Comment #9
zroger commentedCommitted patch from #7 with a change to use version_compare().
Thanks Amitaibu
Comment #11
Stan.Ezersky commentedFind
Change to: