in drupal 7 the opportunity to give the right to a userrole to select a (user-)specific theme is not part of the core any more. So this might be a nice extension to themekey Vers. 7.
(see http://drupal.org/node/292253 for the reason)

CommentFileSizeAuthor
#3 1046214.patch8.31 KBmkalkbrenner

Comments

mkalkbrenner’s picture

Interesting ...

Maybe we should fill the gap.

mkalkbrenner’s picture

Assigned: Unassigned » mkalkbrenner

OK, I did some quick prototyping. It seems to be achievable.

But I wonder if we could provide some kind of upgrade path from D6 core to ThemeKey 7.x?

mkalkbrenner’s picture

Version: 7.x-1.0-alpha2 » 7.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new8.31 KB

I attached a first patch to provide this feature. I think I managed the upgrade path from Drupal 6 Core, too!

The patch has to be applied against current cvs version of ThemeKey 7.x-1.x.

mkalkbrenner’s picture

Title: Selection of theme for user - Replacement for D6 Core feature that has been removed in D7 Core » selection of theme for user
Component: Code / API » Miscellaneous

HowTo

  1. Install ThemeKey User Profile which is part of the ThemeKey module package
  2. Assign the permission "Select different theme" to the roles at /admin/people/permissions
  3. Activate "Add theme option to user profile " at /admin/config/user-interface/themekey/settings/ui
  4. Configure "Selectable Thems" at /admin/config/user-interface/themekey/settings/ui
  5. Optional: Prioritize the static ThemeKey property "user:profile_triggers_theme" at /admin/config/user-interface/themekey
mkalkbrenner’s picture

Title: selection of theme for user » Selection of theme for user - Replacement for D6 Core feature that has been removed in D7 Core
Component: Miscellaneous » Code / API

committed to cvs

janeks’s picture

Title: selection of theme for user » Selection of theme for user - Replacement for D6 Core feature that has been removed in D7 Core
Version: 7.x-1.x-dev » 7.x-1.0-beta3
Component: Miscellaneous » Code / API
Category: feature » bug

I had a problems when activating the module:

PHP Fatal error: Call to undefined function themekey_invoke_modules() in /home/.../htdocs/sites/all/modules/themekey/themekey_build.inc on line 69, referer: http://.../admin/modules/list/confirm

mkalkbrenner’s picture

Status: Needs review » Fixed

fatal error fixed in rc1

Status: Fixed » Closed (fixed)

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