* Download the FCKEditor main package at
http://www.fckeditor.net/download.
o Extract the zip file to your webroot. You now have a folder fckeditor in your webroot.
* Download the FCKEditor.NET package at
http://www.fckeditor.net/download.
o Extract the zip file to a temporary folder.
o Copy FredCK.FCKeditorV2.dll from {temporary folder}\bin\Release\2.0\ to the \bin\ directory of your webroot.
* Create a folder "userfiles" in your webroot. Add write permissions to this folder for the Network Service account (Windows Server 2003).
* Switch off HTTP compression in the blog settings
* add_entry.aspx ({webroot}\admin\Pages\):
o add <%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="fck" %>
o replace <Blog:TextEditor runat="server" id="txtContent" TabIndex="4" /> with <fck:FCKeditor id="txtContent" runat="server" BasePath="/FCKeditor/" Height="700" Width="800" />
o remove upload fields (txtUploadImage, txtUploadFile)
* add_entry.aspx.cs ({webroot}\admin\Pages\):
o replace txtContent.Text with txtContent.Value
o remove all references to the old upload fields (txtUploadImage, txtUploadFile)
o the function SizeFormat() can also be removed
* fckconfig.js ({webroot}\fckeditor\):
o set _FileBrowserLanguage to 'aspx'
o set _QuickUploadLanguage to 'aspx'
* config.ascx ({webroot}\fckeditor\editor\filemanager\connectors\aspx\):
o you have to implement a session check in CheckAuthentication() or just return true (not recommended)
* Set enableSessionState="true" in the <pages> section in web.config
Partager