James Fraser
Top achievements
Rank 1
James Fraser
asked on 20 Jun 2007, 12:03 AM
I have a customer query relating to show/hide button functionality with the Premium MOSS control.
Is it possible to limit the buttons displayed in the toolbar based on the content authors role? e.g. Only display Switch to HTML View for authorised users.
Is it possible to limit the buttons displayed in the toolbar based on the content authors role? e.g. Only display Switch to HTML View for authorised users.
5 Answers, 1 is accepted
0
Hello,
Currently, you cannot dynamically enable/disable the editor features depending on the user role. You can remove HTML mode by modifying the ConfigFile.xml (located by default at \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.1.0.0__1f131a624888eeed\RadControls\Editor\). However, this change will affect all editor users.
If you have experience with Visual Studio and C#, we can assist you in creating your own editor (which inherits from the RadEditor for MOSS). This way you will be able to implement role based or even page based security and customize the editor for your site.
Kind regards,
Lini
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Currently, you cannot dynamically enable/disable the editor features depending on the user role. You can remove HTML mode by modifying the ConfigFile.xml (located by default at \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.1.0.0__1f131a624888eeed\RadControls\Editor\). However, this change will affect all editor users.
If you have experience with Visual Studio and C#, we can assist you in creating your own editor (which inherits from the RadEditor for MOSS). This way you will be able to implement role based or even page based security and customize the editor for your site.
Kind regards,
Lini
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
James Fraser
Top achievements
Rank 1
answered on 20 Jun 2007, 10:40 PM
Thanks for the reply - this is just what I wanted to hear.
0
Rana
Top achievements
Rank 2
answered on 06 Jul 2009, 06:49 AM
Lini,
Do you have any working examples of customising the editor to enable/disable toolbar buttons dynamically based on ROLE?
Appreciate your early response.
Regards,
Prat
Do you have any working examples of customising the editor to enable/disable toolbar buttons dynamically based on ROLE?
Appreciate your early response.
Regards,
Prat
0
Hi Rana,
You can see an example of a custom web part control that uses the MOSSRadEditor in our help: http://www.telerik.com/help/aspnet-ajax/radeditor-in-custom-moss-solutions.html. There you can set the editor's ToolsFile and ConfigFile properties to point to custom configuration files based on the current user role. The default path for the configuration files in version 5.x is /_wpresources/RadEditorSharePoint/5.4.1.0__1f131a624888eeed/Resources/ConfigFile.xml (where 5.4.1.0 is the RadEditor for MOSS version you have installed).
Best wishes,
Lini
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
You can see an example of a custom web part control that uses the MOSSRadEditor in our help: http://www.telerik.com/help/aspnet-ajax/radeditor-in-custom-moss-solutions.html. There you can set the editor's ToolsFile and ConfigFile properties to point to custom configuration files based on the current user role. The default path for the configuration files in version 5.x is /_wpresources/RadEditorSharePoint/5.4.1.0__1f131a624888eeed/Resources/ConfigFile.xml (where 5.4.1.0 is the RadEditor for MOSS version you have installed).
Best wishes,
Lini
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Rana
Top achievements
Rank 2
answered on 07 Jul 2009, 10:59 AM
Lini,
Got the solution.
Thank you verymuch.
Regards,
Prat
Got the solution.
Thank you verymuch.
Regards,
Prat