When taxonomy theme is used to provide subsites, it can become hard for users to stay on the same subsite as every time they hit a page that doesn't trigger a given theme (e.g., search/node) they lose their context.

One option for maintaining theme context would be to use session data. Approach: A session variable is set to the custom theme when the theme is changed. In subsequent page visits, that custom theme is used if no other custom theme is selected.

Draft patch attached, not tested yet.

CommentFileSizeAuthor
taxonomy-theme-maintain.patch2.09 KBnedjo

Comments

profix898’s picture

Project: Taxonomy Theme » ThemeKey
Version: 5.x-1.x-dev » 6.x-1.x-dev
Component: Code » Code / API
Status: Active » Fixed

I have added this feature to the ThemeKey module for D6. Moving there and marking fixed.
Thanks a lot for the idea and the draft patch :)

Status: Fixed » Closed (fixed)

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