moss - How do I implement user theme switching in SharePoint? -
My client wants to provide 2 themes for a SharePoint application. Is there a strategy to complete this in MOS 2007?
We want to switch user profile-based theme selections, and even a drop-down mode.
I do not know how wide you want that you should be re-themes, though if it is only CSS If so, you can use this approach:
-
Store CSS files for different topics in the style library.
-
Write a feature and allow the user to change their theme.
-
Write a control that performs a lookup on the list against the current user and receives a reference to the same CSS file in the style library. Control will then output and control the page for this file.
-
Add this control to the master page so that it can be implemented on every page (caching should be added).
I do not know why it will not be supported by Microsoft because you are only changing CSS.
If you then have another option to write an HTML module that changes the HTML output. Or essential javascript You can have helpful qualification problems with these two options (it depends on your changes).
Comments
Post a Comment