With theme switching rules using both taxonomy:tid and taxonomy:tid_and_childs I find that themes will be switched only for taxonomy term nodes, not for pages referencing the terms.

The theme switching rules that I've applied are equivalent to those that worked correctly under D6.

I've turned on the debug function, which shows that ThemeKey does not see any tids attached to those pages.

I've tried this with both 7.x-1.0-rc1 and 7.x-1.x-dev and with and without Taxonomy Theme.

CommentFileSizeAuthor
#3 1096356.patch6.29 KBmkalkbrenner

Comments

chrispooh’s picture

Version: 7.x-1.x-dev » 7.x-1.0-rc1

I have the same problem in drupal7.
I created a node, added a taxonomy field to the node. I use 2 theme, so created a dropdown with this 2 term.
After i set the themekey like this:
taxonomy:tid = 1 and set the theme, and
taxonomy:tid = 2 and set the another theme.

After this i created a node, i set the tid1, but nothing happened, the node not use the theme for tid1.

Can you help me?

mkalkbrenner’s picture

Assigned: Unassigned » mkalkbrenner

I confirm the issue. But it will be hard to fix. Drupal 7 is much more complicated in that part.

mkalkbrenner’s picture

Status: Active » Needs review
StatusFileSize
new6.29 KB

The only chance to solve the issue in an efficient way was to remove the feature to support the view of old node revisions. But I think most people weren't even aware of this feature.

mkalkbrenner’s picture

Status: Needs review » Fixed
chrispooh’s picture

Thank you, it works!

Status: Fixed » Closed (fixed)

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