How do I prevent users from changing the skin in JqueryUi theme?

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
12/11/2010 1:30:58 AM
Gravatar
Total Posts 76

How do I prevent users from changing the skin in JqueryUi theme?

Hello,

  1. How do I hide the theme selection option for users in the Jqueryui theme?
  2. How do I change the theme to another theme under jqueryui to be the default theme for Jqueryui? I hope it makes sense..I mean I want to be able to set another theme under Jqueryui?

Thanks so much..

 

12/11/2010 6:12:24 AM
Gravatar
Total Posts 18439

Re: How do I prevent users from changing the skin in JqueryUi theme?

Look in the layout.master file of the skin, you can specify the jqueryui theme on the <portal:StyleSheetCombiner control

If you don't want anyone to be able to choose the jqueryui them you can remove the <portal:JQueryUIThemePicker control completely.

If you want the admin users to be able to use the them switcher but you don't want other users to be able to use it, you can specify allowed roles on the control like this:

<portal:JQueryUIThemePicker ID="tp1" runat="server" AutoPostback="true" RenderAsListItem="true" AllowedRoles="Admins;Content Administrators;" />

Hope it helps,

Joe

12/14/2010 6:22:48 AM
Gravatar
Total Posts 76

Re: How do I prevent users from changing the skin in JqueryUi theme?

Thanks for the reply Joe,...will try it asap...

12/19/2010 12:18:23 AM
Gravatar
Total Posts 76

Re: How do I prevent users from changing the skin in JqueryUi theme?

Joe! Many Thanks! It worked well. Please see my website here (still under testing though) at http://test.gloriatech.com and provide me some feedback if you can. 

Thanks so much...

You must sign in to post in the forums. This thread is closed to new posts.