Using IFused with the FCKEditor
Miroslaw Maslyk has sent this small tutorial on how to use iFused with the FCKEditor. Thank you very much Miro ;-)
Rename file
FCKeditor\editor\dialog\fck_image.html
tofck_image.aspx
.On the top this file (
fck_image.aspx
) add this code:
<%@ Page Language="C#" %>
<%@ Register TagPrefix="Uploader"
namespace="StaticDust.Web.UI.Controls"
assembly="StaticDust.Web.UI.Controls.UploadDialog" %>
<script runat="server">
protected void Page_Load(Object source, EventArgs e)
{
StaticDust.Web.UI.Controls.UploadDialogButton _u =
new StaticDust.Web.UI.Controls.UploadDialogButton();
_u.UploadDirectory = "~/images";
_u.ReturnFunction = "SetUrl()";
btnBrowse.Attributes["OnClick"] = "javascript:" + _u.JavascriptLink;
}
</script>
Find btnBrowse input html tag , add runat=“server” attribute and close tag (
/>
)Replace in files
FCKEditor\FCKeditor\editor\js\fckeditorcode_ie_2.js
andfckeditorcode_gecko_2.js
allfck_image.html
sentence tofck_image.aspx