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
Comment #1
merlinofchaos commentedOooh, 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.
Comment #2
jjkiesch commentedThanks 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.
Comment #3
merlinofchaos commentedBest I can do is do more clearing with the rescan button, which is now being done in -dev.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.