请把轻狂志网址 www.flighty.cn 加入收藏夹,其他俱为假冒,谨防被骗!赞助请点 这里!找东东请用右边的搜索 ===>
20 2010-02

DEDEv5.x添加会员投稿时上传文章附件的功能

作者:MMCMMC | 发布:2010-02-20 | 更新:2010-02-20 | 分类:教程 | Tutorial | 热度:

注:对于会员可以上传doc、xsl、ppt等文档的行业站比较有用。以下为修改方法:

1、打开\include\FCKeditor\fckconfig.js

以下为引用的内容:

FCKConfig.ToolbarSets["Member"] = [
    ['Source','Preview','-','PasteText','PasteWord','-','Bold','Italic','Underline','StrikeThrough'],
    ['ImageUser','FlashUser','-','Link','Unlink','-','Table','Rule','Codes','Quote','Br','-','TextColor','FontSize']
] ;

替换成

以下为引用的内容:

FCKConfig.ToolbarSets["Member"] = [
    ['Source','Preview','-','PasteText','PasteWord','-','Bold','Italic','Underline','StrikeThrough'],
    ['ImageUser','FlashUser','AddonUser','-','Link','Unlink','-','Table','Rule','Codes','Quote','Br','-','TextColor','FontSize']
] ;

以下为引用的内容:

FCKConfig.ToolbarSets["MemberLit"] = [
    ['Source','Preview','-','PasteText','PasteWord','-','Bold','Italic','Underline','StrikeThrough'],
    ['ImageUser','FlashUser','-','Link','Unlink','-','Table','Rule','Codes','Quote','Br','-','TextColor','FontSize']
] ;

替换成

以下为引用的内容:

FCKConfig.ToolbarSets["MemberLit"] = [
    ['Source','Preview','-','PasteText','PasteWord','-','Bold','Italic','Underline','StrikeThrough'],
    ['ImageUser','FlashUser','AddonUser','-','Link','Unlink','-','Table','Rule','Codes','Quote','Br','-','TextColor','FontSize']
] ;

标签:dede(33)会员(3)投稿(2)附件(1)