Skip to content

RadEditor Custom EditorDialogs

This tells you how to lay the groundwork for all RadEditor customization. You need to tell RadEditor to use custom .ascx files instead of stock internal ones if you want to make any changes to the functionality. But don’t worry, it’s much easier than it sounds! Just follow these steps:

  1. Download the free trial of RadEditor here: (this version should work with modern installations of RadEditor; if not, look around for other trial versions on that site.)
    I recommend the DLL, Scripts, and Skins Only file, as it’s small and contains little more than what you need for this.
    http://www.telerik.com/account/free-trials/trial-product-versions/single-trial.aspx?pmvid=2214&pid=0
    Update: Looks like that requires a login. WordPress.com won’t let me host a .zip file but it’s a free registration so trust me that it works — giving up a little information is the price you have to pay, I guess.
  2. After you unzip the download, copy the entire EditorDialogs folder to your wpresources\RadEditorSharePoint\5.x.x.x__1f131a624888eeed\Resources\ folder. Don’t try to type this path in; 5.x.x.x is different depending on what version you have installed on your server, but it’ll look similar.
  3. Open ConfigFile.xml (also in wpresources\RadEditorSharePoint\5.x.x.x__1f131a624888eeed\Resources\) and paste in the following code:
    <property name="ExternalDialogsPath">/_wpresources/RadEditorSharePoint/5.x.x.x__1f131a624888eeed/Resources/EditorDialogs</property>

    Make sure you change that 5.x.x.x directory to the one on your server. It should look similar but will have numbers in place of the x characters and the string might be different after the __. Also, if you’re feeling advanced and would rather put your dialog files in a different directory, just make sure that’s reflected here.

  4. Do the same thing for ListConfigFile.xml in the same directory. This way your changes will also show up if you use RadEditor to edit list items.

That’s all there is to it! If you’ve done these steps correctly, RadEditor will start using the dialog files from your custom directory. Now go forth and customize!

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

%d bloggers like this: