Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Earlier today I was talking to dereine about the fact that many themes dont work very well with the new UI. I was thinking that it might be useful to have a setting (dropdown) on the Views UI Settings page where the user could choose one of the available themes to override the default admin UI theme for the views pages. That way users that have custom themes (for example "Rubik") for their Admin UI (which don't work with Views yet) can continue using their custom themes while still being able to use the Views UI properly.
Here is the patch:
Comment | File | Size | Author |
---|---|---|---|
custom-theme-settings-1.patch | 1.93 KB | fubhy | |
Comments
Comment #1
fubhy CreditAttribution: fubhy commentedDereine (capital D, looks weird :P) was asking wether this affects the theme suggestions when scanning for template files. It doesn't!
Comment #2
jessebeach CreditAttribution: jessebeach commented@fubhy, the them configuration isn't taking. The dropdown appears and I can choose a theme. When I save the settings form, my theme selection is retained in the dropdown. But Views is not displayed in the theme I chose (Stark). It continues to display in the default admin theme for the site, Seven. I tried clearing caches.
It looks like you call the views_ui_custom_theme variable on line 242 of views_ui.module. But I don't see anywhere where this variable is set.
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedneeds work based on #2.
Comment #4
fubhy CreditAttribution: fubhy commentedI will fix that later tonight!
Comment #5
dawehnerIt worked fine for me, so i commited it as it is.
Comment #6
fubhy CreditAttribution: fubhy commentedThanks Daniel!