Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2011 at 13:48 UTC
Updated:
30 Sep 2011 at 10:11 UTC
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 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 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 commentedneeds work based on #2.
Comment #4
fubhy commentedI will fix that later tonight!
Comment #5
dawehnerIt worked fine for me, so i commited it as it is.
Comment #6
fubhy commentedThanks Daniel!