Extract the first file to the Web root directory, the default folder name is: FCKeditor; then unpack the second package, which contains the source code, and if you want to develop it yourself, you can double-click FredCK.FCKeditorV2.csproj file, open vs.net to modify, the language used is C #; Do not want to change the words, directly to the bin\ Release the FredCK.FCKeditorV2.DLL file below the bin of the Web directory
First, preparatory work
First download the latest version of FCKeditor V2.3.
Download Address:http://prdownloads.sourceforge.net/fckeditor/FCKeditor_2.3.zip?download
This package does not contain the DLL controls that asp.net to use, so you also need to download another compression package.
Download Address:http://sourceforge.net/project/showfiles.php?group_id=75348&package_id=137125
Extract the first file to the Web root directory, the default folder name is: FCKeditor; then unpack the second package, which contains the source code, and if you want to develop it yourself, you can double-click FredCK.FCKeditorV2.csproj file, open vs.net to modify, the language used is C #; Do not want to change the words, directly to the bin\ Release the following FredCK.FCKeditorV2.DLL file to the Web directory under the bin, and add a reference to the project, and then on the left side of the toolbar to add items, select FredCK.FCKeditorV2.DLL, you can see the toolbar after the one more FCKeditor icon, to use the FCKeditor place as long as you drag the icon to the page relative to the location on the OK, note that set the path of the basepath: "/fckeditor/"
Ii. related Modifications
Because the website backstage and the forum all used this editor, the website visit is the http://website/, the forum visit is the http://website/bbs, the forum I is uses the Xmlchina forum, the function is relatively simple, the modification is also convenient, but it post the time did not do the picture to upload, So you can change the editor (this is easier than changing the code).
FCKeditor's. NET default upload path is/userfiles/, if both sides of the forum and the site upload files are mixed together. Google on the Internet half, only to find the ASP environment in the upload path changes. Using. Net-like browsers, you find that FredCK.FCKeditorV2.FileWorkerBase.UserFilesPath can be set. The main I just learn. NET rookie, the level is not high, tried several back did not set success. Had to see Fredck.fckeditorv2 's. NET source code (is the second download above), open to find FileWorkerBase.cs, find 26 rows View Plaincopy to Clipboardprint?
Private Const string Default_user_files_path = "/userfiles/";
Private Const string Default_user_files_path = "/userfiles/"; /userfiles/change to the path you want is OK. Then compile, put the DLL file in your target project bin directory, do the relevant references and other work to complete the path settings.