Hello,

I've added some basic user role theme switching functionality. Function _taxonomy_theme_select_user needs to be rewriten for better handling of users with multiple roles, but basically the patch works. Of course user theme settings can be overridden by extended path based theme switch :)

Hope the patch isn't too bad ;)

CommentFileSizeAuthor
taxonomy_user.patch3.91 KBpielgrzym

Comments

owahab’s picture

Component: Code » Code / API
Issue tags: +Newbie

I'd suggest you take a look at Role Theme Switcher.

profix898’s picture

Status: Needs review » Closed (fixed)

Also the new ThemeKey module (successor of TaxonomyTheme for D6) supports this.

msoltan’s picture

Version: 5.x-1.1 » 6.x-1.0-alpha2
Component: Code / API » User Interface
Assigned: pielgrzym » msoltan

i want assign diffrent theme for each content type without using themekey or taxonomy theme because i Attempted use it but Caused problems online...I am in dire need of it

mkalkbrenner’s picture

Version: 6.x-1.0-alpha2 » 5.x-1.1
Assigned: msoltan » Unassigned

ThemeKey is definitively the module right module for this use case.