Extending our WIKI page WYSIWYG editor with Telerik RAD Editor

The default rich-text editor in MOSS and WSS is pretty poor, offering limited functionality. 
 
Telerik RadEditor on the other hand is an alternative designed for Microsoft Office SharePoint Server 2007 and a product we’ve deployed in the past for our Microsoft Content Management System.
 
It extends the web content authoring environment of SharePoint 2007 by providing cross-browser compatibility and support for the Macintosh platform. The product offers the almost identical functionality level as the integrated rich-text editor and is provided by Telerik at no cost to all registered customers of Microsoft Office SharePoint Server 2007.
 
Telerik RadEditor can be used in the following scenarios:Rich-text field control in SharePoint forms (in Lists, Wikis, Blogs, etc.)Rich-text editor Web PartContent field in Web Content Management scenarios
Installing RadEditor in a MOSS 2007 farm
 
Follow the steps below to install Telerik RadEditor for MOSS on your SharePoint 2007 farm.
 
1. Extract the contents of RadEditorMOSS.zip to a folder of your choice
2. Open a command prompt window
3. Run the stsadm.exe utility to install RadEditorMOSS.wsp. By default stsadm.exe can be found in [Program Files]\Common Files\Microsoft Shared\web server extensions\12\BIN.
Use the following syntax:
stsadm -o addsolution -filename [Path]\RadEditorMOSS.wsp
4. Open the SharePoint Central Administration page.
5. Go to the Operations page and click on Solution Management.
6. You should see the radeditormoss.wsp solution in the list. Click on the name link to go to the Solution Properties page.
7. Select Deploy Solution.
8. From the next page you can choose when and to which applications to deploy the solution.

Testing the RadEditor WebPart
 
RadEditor for MOSS comes with a special Web Part, which you can use as a cross-browser alternative to the default rich-text editor Web Part. Please, note that the deployment process will not automatically replace existing Web Parts with the new RadEditor Web Part. Since there is no supported way of performing this replacement you should migrate your existing rich-text editor Web Parts manually.
 
Follow the steps below to add a new RadEditor Web Part to a given page.
 
1. Open your Web Application and browse to a Web Part page.
2. Click the Edit Page button or select Edit Page from the Site Actions menu.
3. Click the Add a Web Part button in one of the Web Part Zones.
4. Browse to the RadEditor Web Part in the Miscellaneous category, check it and click the Add button.
5. To edit the web part content, select “”Modify Shared Web Part”” in the RadEditor’s Edit menu.
 
Once you are done with the content editing click the Ok button in the RadEditor options panel.
 
You may need to perform an issreset after activating this site feature if you still see the defeault Microsoft content editor menu.
 
NOTE: Once the RadEditor for MOSS features are activated they will affect only the current site. You need to activate the RadEditor features for each site or site collection individually.
 
After you have the editor up and running, you might want to customize its appearance/options. You can do that with the editor’s tools and configuration files. By default, they are located at \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.1.0.0__1f131a624888eeed\RadControls\Editor\ (where 4.1.0 represents the installed editor build). The files you need to modify are called ListToolsFile.xml and ListConfigFile.xml.
 
Troubleshooting Information
 
Could you please make sure that you logged as an Administrator user.

The first time you activate a RadEditor feature, you must be logged as an Administrator user. This is required, because the editor needs to update the default list editing template by copying a file – from \TEMPLATE\FEATURES\RadEditorFeature\RadEditorList.ascx to \TEMPLATE\CONTROLTEMPLATES\RadEditorList.ascx.
 
The file is copied by the IIS worker process, which in turn is impersonating the currently logged in user. That is why you need to be logged in as an Administrator to be able to copy the file. Once the file is copied, any user can activate/deactivate the RadEditor features.
 
IF YOU ARE DEPLOYING TO A LOAD BALANCED ENVIRONMENT, THIS FILE NEEDS TO BE DEPLOYED ON BOTH LOAD BALANCED SERVERS.  I RECOMMEND YOU MANUALLY COPY THE ASCX FILE INTO THE CONTROLTEMPLATES FOLDER BEFORE YOU ACTIVATE THE FEATURE.
 
The RadEditorList.ascx file will stay until you uninstall the RadEditor for MOSS product.
 
This means that is you upgrade to a newer version of the editor, you will need to re-activate (deactivate and then activate) the editor feature on any of the sites (only one is needed) in order for the RadEditorList.ascx file to be copied again.
 
Again you should be logged in as an Administrator user (I signed in as a svc user) when you activate the feature for the first time after an upgrade.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s