eygle.com   eygle.com
eygle.com eygle
eygle.com  
 

« Oracle HowTo:如何使用split命令分割alert文件 | Blog首页 | Today is the Birthday Of AnAn »

Install MT WYSIWYG plugin FCKeditor

 今天在MT站点上看到Full Featured FCKeditor插件,忍不住下载来装上试用,此前MT自带的编辑器功能的确是太少。
现在通过FCKeditor可以大大的增强了一下。

该插件的增强版可以从作者的主页下载,按照安装过程,很容易就可以安装成功。

安装完成以后在Text Formatting 处就可以看到FCKeditor选项了. 

fck-0.gif

以下是我的简要安装步骤,供参考:


1.下载插件到MT主目录
[root@eygle mt]# pwd
/opt/apache/eygle/cgi-bin/mt
[root@eygle mt]# wget http://alogblog.com/downloads/cdn.cgi?alogblogMTinterface_fck-3.2.04.tar.gz
--17:15:54--  http://alogblog.com/downloads/cdn.cgi?alogblogMTinterface_fck-3.2.04.tar.gz
           => `cdn.cgi?alogblogMTinterface_fck-3.2.04.tar.gz'
Resolving alogblog.com... done.
Connecting to alogblog.com[218.145.65.39]:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://user.chol.com/~gringo/mtplugins/alogblogMTinterface_fck-3.2.04.tar.gz [following]
--17:15:58--  http://user.chol.com/%7Egringo/mtplugins/alogblogMTinterface_fck-3.2.04.tar.gz
           => `alogblogMTinterface_fck-3.2.04.tar.gz'
Resolving user.chol.com... done.
Connecting to user.chol.com[210.120.253.10]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,780,618 [application/x-tar]

100%[======================================================>] 1,780,618     23.64K/s    ETA 00:00

17:17:21 (23.64 KB/s) - `alogblogMTinterface_fck-3.2.04.tar.gz' saved [1780618/1780618]

2.解压缩
[root@eygle mt]# tar xvfz alogblogMTinterface_fck-3.2.04.tar.gz

3.把静态文件移至静态文件主目录
[root@eygle mt]# cp -R mt-static/* /opt/apache/eygle/mt-static/
[root@eygle mt]# chmod -R 777 /opt/apache/eygle/mt-static/
4.安装
[root@eygle mt]# perl tools/add-default-templates
1.Reading templates from '(mt)/tools/default_templates/' folder.
        - fckstyles.xml.tmpl.add verified.
        - fcktemplates.xml.tmpl.add verified.
        - fck_editorarea.css.tmpl.add verified.


2. Updating '(mt)/default_templates/*.tmpl' files.
        - default_templates/fckeditor_css_mapping.tmpl newly created.
        - default_templates/fckeditor_templates.tmpl newly created.
        - default_templates/fckeditor_css.tmpl newly created.


3. Updating 'lib/MT/default-templates.pl' file.
        - 'FCKeditor CSS Mapping' added.
        - 'FCKeditor Templates' added.
        - 'FCKeditor CSS' added.
        - lib/MT/default-templates.pl backuped and updated.


4. Updating 'plugins/TemplateRefresh/TemplateRefresh.pl' file.
        - 'FCKeditor CSS Mapping' added.
        - 'FCKeditor Templates' added.
        - 'FCKeditor CSS' added.
        - plugins/TemplateRefresh/TemplateRefresh.pl backuped and updated.

5.至此完成安装
但是不知道哪里出了问题,我的安装还抱错2个xml文件找不到,我只好手工把文件复制到相应目录下了事,没有深究。
[root@eygle FCKeditor]# pwd
/opt/apache/eygle/cgi-bin/mt/mt-static/FCKeditor
[root@eygle FCKeditor]# cp *.xml /opt/apache/eygle
[root@eygle FCKeditor]# cd /opt/apache/eygle
[root@eygle eygle]# mv fckstyles.xml blogfckstyles.xml
[root@eygle eygle]# mv fcktemplates.xml blogfcktemplates.xml


历史上的今天...
    >> 2016-12-02文章:
    >> 2011-12-02文章:
    >> 2007-12-02文章:
    >> 2006-12-02文章:
           落后的技术就是灾难

无觅

By eygle on 2005-12-02 20:58 | Comments (0) | Web | 557 |


CopyRight © 2004~2020 云和恩墨,成就未来!, All rights reserved.
数据恢复·紧急救援·性能优化 云和恩墨 24x7 热线电话:400-600-8755 业务咨询:010-59007017-7040 or 7037 业务合作: marketing@enmotech.com