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:
- 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 theDLL, Scripts, and Skins Onlyfile, 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. - After you unzip the download, copy the entire
EditorDialogsfolder to yourwpresources\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. - Open
ConfigFile.xml(also inwpresources\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.xdirectory to the one on your server. It should look similar but will have numbers in place of thexcharacters 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. - Do the same thing for
ListConfigFile.xmlin 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!
Trackbacks