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?
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.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com