Skinngin a user profile based on the blog theme where the link came from instead of the default site theme

rated by 0 users
This post has 1 Reply | 2 Followers

Not Ranked
Posts 1
Points 20
lstgeorg Posted: Thu, Apr 24 2008 2:14 PM

Hello all --

I have been trying to find a way to skin a user profile page in the context of the blog where the information displays (such as on a post or comment) and I cannot find a way to do this. Help would be much appreciated!

 

Here is the scenario:

Our site has 3 blogs, each with a unique theme. The folks who create the blog posts have access and create posts under all 3 blogs. What we want to do is, when someone reads a blog post on Blog A and clicks to view the poster's profile, we want the profile to be displayed with the theme of Blog A. When someone reads a blog post on Blog B and clicks to view the poster's profile (same poster, different blog and post) we want the profile to be displayed with the theme of Blog B.

Since the userprofile page is relative to the community, and not a particular blog, how can I get the skins to be dynamic based on the blog?

 

 

Top 10 Contributor
Posts 3,424
Points 65,735
CS Developers
Ben Tiedt replied on Thu, Apr 24 2008 11:25 PM

One approach would be to set a cookie containing the name of the theme last viewed and then, on the userprofile.aspx page in the site theme, you could include stylesheets or selectively render content depending on the value of this cookie.  This may be the easiest way to accomplish what you want.

Ben Tiedt's Blog

  • | Post Points: 5
Page 1 of 1 (2 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com