Closed (fixed)
Project:
Image Picker
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2011 at 11:22 UTC
Updated:
7 Jul 2011 at 09:02 UTC
Image picker is using the css of the site theme rather than the administration theme (I think it should use the administration theme). Or have I missed an option for this somewhere?
| Comment | File | Size | Author |
|---|---|---|---|
| imagepicker.jpg | 34.86 KB | deshiknaves |
Comments
Comment #1
hutch commentedDoes copying imagepicker.tpl.php (suitably edited) to your admin theme work for you?
Comment #2
deshiknaves commentedHey. I'm using seven as my admin theme. I did try and copy imagepicker.tpl.php into the directory. Cleared cache, but it made no difference to how it was displayed.
Comment #3
hutch commentedOh dear, I will have to try and figure out how D7 sets the theme for certain paths but not others, and how to add the Imagepicker Iframe to that or whatever.
Comment #4
hutch commentedThis feature has been added to the dev version, out shortly.
It turned out to be surprisingly easy, although undocumented.
Comment #5
deshiknaves commentedAwesome! Thanks a million for the help. Look forward to it.
Comment #6
hutch commentedSet it in config, at the bottom of the Iframe settings. I tested it with Seven only.
Comment #7
hutch commentedI have added a small improvement so that it only sets the admin theme if 'add/edit node in admin theme' is also set.
Comment #8
deshiknaves commentedWorking perfectly. Thanks.