من نگفتم لينك فول!!
نوشته ام لينك فوق.
در ضمن اين اديتور شما اصلا در اكسپلورر مايكروسافت جواب نميدهد.
اما با استفاده از روش زير انجام اين كار امكانپذير ميباشد:
Download FCKeditor (the version I used is 2.0 FC) and unzip the downloaded file in your MT static directory. This will result in a directory named FCKeditor.
Open the file [MT installation dir]/tmpl/cms/header.tmpl and save it as: header_edit_entry.tmpl
Add the following code to header_edit_entry.tmpl between the tags <head> ... </head>:
<script type="text/javascript"
src="<TMPL_VAR NAME=STATIC_URI>FCKeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'text' ) ;
oFCKeditor.BasePath = '<TMPL_VAR NAME=STATIC_URI>FCKeditor/' ;
oFCKeditor.Width = 580 ;
oFCKeditor.Height = 400 ;
oFCKeditor.CheckBrowser = true ;
oFCKeditor.ReplaceTextarea() ;
pFCKeditor = new FCKeditor( 'text_more' ) ;
pFCKeditor.BasePath = '<TMPL_VAR NAME=STATIC_URI>FCKeditor/' ;
pFCKeditor.Width = 580 ;
pFCKeditor.Height = 400 ;
pFCKeditor.CheckBrowser = true ;
pFCKeditor.ReplaceTextarea() ;
qFCKeditor = new FCKeditor( 'excerpt' ) ;
qFCKeditor.BasePath = '<TMPL_VAR NAME=STATIC_URI>FCKeditor/' ;
qFCKeditor.ToolbarSet = "MTExcerpt" ;
qFCKeditor.Width = 580 ;
qFCKeditor.Height = 200 ;
qFCKeditor.CheckBrowser = true ;
qFCKeditor.ReplaceTextarea() ;
}
</script>
Open the file [MT installation dir]/tmpl/cms/edit_entry.tmpl and replace <TMPL_INCLUDE NAME="header.tmpl"> with <TMPL_INCLUDE NAME="header_edit_entry.tmpl">
Delete in the same file (edit_entry.tmpl) the quicklinks. These are the B, I, U etc. buttons that appear above the Entry Body and Extended Entry textareas. Delte the following code twice:
<script type="text/javascript">
<!--
if (canFormat) {
with (document) {
write('<a title="<MT_TRANS phrase="Bold" escape="singlequotes">
[...]
}
}
// -->
</script>
Notice: You will have to delete this code once for the Entry Body and once for the Extended Entry.
Now it is time to edit the FCKeditor configuration file (fckconfig.js). You will have to remove the editor functions you don't use and that might be confusing to your users (for instance the New File button and the Save button). I edited the Default Toolbarset, but you can also create a new Toolbarset. If you do so you will also have to edit the code under step 3. I use the Default Toolbarset for the Entry Body and the Extended Entry.
Replace the existing Default ToolbarSet code with:
FCKConfig.ToolbarSets["Default"] = [
['Source'],
['Cut','Copy','Paste','PasteText','PasteWord','-'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Table','Rule','Smiley','SpecialChar','UniversalKey'] ,
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
' /',
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'],
['About']
] ;
Next I have created a more restricted Toolbarset for the Excerpt. Add the folowing code:
FCKConfig.ToolbarSets["MTExcerpt"] = [
['Source'],
['Bold','Italic','Underline','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
] ;
Finally deactivate the built-in image and linkbrowser:
FCKConfig.LinkBrowser = false ;
FCKConfig.ImageBrowser = false ;
That's all! Good luck!