When selecting Theme: Information on a table view I am working with, I found the appropriate filename for the section I wanted to theme and then placed the file in my current theme directory. Rescanning found nothing, and after a few minutes of trying different things I discovered that my problem was that I had a separate theme for administration. When using the current theme as the administration theme, my extra theme files were picked up.

Is this a big? Any workarounds to get Views to pick up theme files from the frontend theme instead of the theme I'm using for administration?

Comments

merlinofchaos’s picture

Oooh, that's a tough one. The problem is that Drupal only really has an idea of the 'current theme'; it's pretty hard to get information about some other theme, especially when using admin theme overrides.

I had totally forgotten about this possibility, but this is inconvenient. I'll have to see if there is something I can do to alleviate it, but it is tricky. :/

I can at least make the rescan more aggressive about clearing theme registry entries.

jjkiesch’s picture

Thanks for the reply.

As a temporary fix I've just been keeping two copies of the theme file in each theme which works fine for me.

merlinofchaos’s picture

Status: Active » Fixed

Best I can do is do more clearing with the rescan button, which is now being done in -dev.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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