« Ooooooops,CSS goes die! | Main | Prototype.js Finally Has Docuement »

MT Integrates WIth FCKEditor

The default editor of MT system seems so ugly, since it occupies with little function. Based on t this reason, I decide to integrate FCKEditor to replace the default one.

The road to install it is very hard, maybe because I don't be familiar with MT system. I tried to 2 ways until the last way is OK.
OK, let  me show my experience to install it.

  • The 1st way: don't using Plugin
In this way,the plugin is not used.
First , go to FCKEditor offical website to download the latest package.
Then unpack the package download right now to mt-static directory, then go to edit the edit entry template(that is /tmpl/cms/edit_entry.tmpl ). Maybe someone ask me how do you know edit this? yes, I got it, because MT consists of many and many template., and one page also is composited of them. it probably be correct following this rule.
Add the below code block under the line <TMPL_INCLUDE NAME="header.tmpl">:
<head>
<script type="text/javascript" src="http://YOUR WEBSITE/fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
 {
 var oFCKeditor = new FCKeditor( 'text' ) ;
  oFCKeditor.Height = "600" ;
  oFCKeditor.Width = "577" ;
  oFCKeditor.ReplaceTextarea() ;
}
    </script>
</head>
Easy, right? For common, it is all right, but for my case, no! Why? because the public static resource is put to another place, so I must copy them to there.

  • The 2nd Way:Using Plugin
 it  is easier than the 1st.
please go to here to download it. Luckily, the author gives us a detailed installing document. thanks him/her.
WHILE, I have to copy the folders in mt-static again.

By the way, the author of this plugin is a Korean. I found Germany,Russian and Korea are so powerful.

I also reference this article too.

Good, this article is edited by FCKEditor.
That is all.

Oh, sorry, it is suggested you rebuild the site again.

See Also

Post a comment

About

This page contains a single entry from the blog posted on January 19, 2007 6:03 AM.

The previous post in this blog was Ooooooops,CSS goes die!.

The next post in this blog is Prototype.js Finally Has Docuement.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.34