Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Different skins for user profile pages based on role groupDifferent skins for user profile pages based on role group
Previous
 
Next
New Post
8/19/2010 1:41 PM
 
Hello.  Is there a way to assign different skins to the user profile page, based on the user's role group?  For example, we would like users in role group 1 to have their user profile pages using skin 1 and users in role group 2 to have their user profile pages using skin 2.

We have 1 portal with multiple sites - each site is branded uniquely and has its own set of menus, etc. - site 1 uses skin 1, site 2 uses skin 2, etc.

This is why we would like to have the profile pages of the users that belong to different sites to have the same skins as the sites they belong to.

Can anyone help with any ideas?  Is there a module that can do what we're looking for?  Just to reiterate, we are hosting these different sites under one portal.

Thank you.
 
New Post
8/19/2010 4:01 PM
 
You can load a different stylesheet using this skin object:
http://dnnskinextensions.codeplex.com...
 
New Post
8/19/2010 4:26 PM
 
Thank you.  I looked through the documentation and it looks like the 'IfRole' attribute is what I would use.  Would you be able to provide me with an example of how I can use this attribute in the user profile page to load a different skin based on the role group a user belongs to?  Thank you for your help.  It would be amazing if your extension can do what I'm looking for.
 
New Post
8/19/2010 4:27 PM
 
I forgot to mention that I'm using the catalyst2 skin package by dr nuke.
 
New Post
8/19/2010 5:36 PM
 
The thing the skin object can do is to load a different CSS file for a role.
It does not load a completely new skin.
There is some code that does change the complete skin here: http://www.kalyani.com/2009/12/dotnet...
But AFAIK it ignores the CSS files.

HTH
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Different skins for user profile pages based on role groupDifferent skins for user profile pages based on role group


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out