Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If I used this on a view inside the admin/ subdir then the 2 themes cross over... not pretty.
example:
create a view with a path of admin/content/node2
.
set garland as admin theme, check both checkboxes: admin/settings/admin
set public theme to something else
watch the madness ;)
Comment | File | Size | Author |
---|---|---|---|
#2 | Picture 1(2).png | 352.12 KB | Steve Dondley |
Comments
Comment #1
Steve Dondley CreditAttribution: Steve Dondley commentedConfirmed. It looks like editable fields is somehow pulling in css from the defaulte them when looking at the admin theme with a view with editable fields.
Comment #2
Steve Dondley CreditAttribution: Steve Dondley commentedHere's a screen shot showing an editable view using the "aboutpeople" theme as the default theme and bluemarine for the admin theme, which is set to show on all page urls that begin with "admin/". The screenshot is of a view with a path of admin/all_feed_items.
What we see is a weird hybrid of the bluemarine theme and the "aboutpeople" theme.
Comment #3
Steve Dondley CreditAttribution: Steve Dondley commentedTook a look at the ajax_load.module. It has this at line 60:
$return['css'] = drupal_add_css();
Commenting it out did the trick, but this is obviously not a proper solution.
Comment #4
markus_petrux CreditAttribution: markus_petrux commentedHi,
I have posted a mini-patch to the admin_theme module here: #464738: Add compatibility with AJAX requests to admin theme module?
Cheers
Comment #5
karljohann CreditAttribution: karljohann commentedTwo years later and this hasn't been solved?
Comment #6
charlie-s CreditAttribution: charlie-s commentedSame problem.
Comment #7
mxhComment #8
mxhmoved my comment to http://drupal.org/node/464738. Previous comment can be deleted, thanks!
This problem still exists in D7.
seems that it will be fixed in the next D7 release:
http://drupal.org/node/967166
Comment #9
mxhOK so I tried it with D7.14 now, but the problem is still there. It seems that this is not a fault at editable fields module, because I also have the problem using modal frames.