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:

CommentFileSizeAuthor
custom-theme-settings-1.patch1.93 KBfubhy
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fubhy’s picture

Dereine (capital D, looks weird :P) was asking wether this affects the theme suggestions when scanning for template files. It doesn't!

jessebeach’s picture

@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.

merlinofchaos’s picture

Status: Needs review » Needs work

needs work based on #2.

fubhy’s picture

I will fix that later tonight!

dawehner’s picture

Status: Needs work » Fixed

It worked fine for me, so i commited it as it is.

fubhy’s picture

Thanks Daniel!

Status: Fixed » Closed (fixed)

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