用户名 密码 记住我 还未注册?

XHeditor整合到xoops [技术论坛 - 模块评测]

XOOPS China 讨论区 > XOOPS Module (模块) > 模块评测 > XHeditor整合到xoops

正在浏览:   1 名游客


 到底部   前一个主题   下一个主题
 [无发表权] 请登录或者注册



XHeditor整合到xoops
高级会员
注册日期:
2009/2/11 16:36
来自 北京
所属群组:
注册会员
帖子: 88
等级: 8; EXP: 35
HP: 0 / 183
MP: 29 / 971
离线

 小弟将xheditor整合到了xoops,并在article中进行了测试,现在发布下,大家玩玩。要是有bug等问题,希望大家多多提出。 :)


将文件夹放到 网站根目录/class/xoopseditor/下


//默认方法

$configs = array('editor'=>'xheditor','width'=>'100%','height'=>'500px','value'=>'');

$form->addElement(new XoopsFormEditor('标题', '字段名',$configs));


/**********************************************************************************************************************/

configs拓展参数包括了js和langF

js     将文件放在xheditor/js/中 (加载新的js)

langF 将xheditror官方发布的语言包放到xhedotor/js/中 (加载新的语言编码,并且替换默认的utf8编码)



例如:$configs = array('editor'=>'xheditor','width'=>'100%','height'=>'500px','value'=>'', js='javascript.js', langF='xheditor-en.min.js');



附件:


zip xheditor.zip 大小: 834.79 KB; 下载次数: 133

5/4 16:16
工具箱 短消息 Email PDF 书签 打印 举报 回顶部

主题 作者 最后发表
     XHeditor整合到xoops magic.shao 5/4 16:16
       回复: XHeditor整合到xoops swsw007 5/4 18:50
       回复: XHeditor整合到xoops fynschr 5/4 18:55
       回复: XHeditor整合到xoops magic.shao 5/4 23:16
         回复: XHeditor整合到xoops fynschr 5/5 18:47
           回复: XHeditor整合到xoops fynschr 9/24 16:12
       回复: XHeditor整合到xoops magic.shao 9/25 15:51
         回复: XHeditor整合到xoops fynschr 9/25 20:39
       回复: XHeditor整合到xoops magic.shao 9/27 9:51
         回复: XHeditor整合到xoops kris_fr 11/7 22:05
           回复: XHeditor整合到xoops ezsky 11/9 1:27

 回顶部   前一个主题   下一个主题

 [无发表权] 请登录或者注册


不可查看帖子。
不可发帖。
不可回复。
不可编辑自己的帖子。
不可删除自己的帖子。
不可发起投票调查。
不可在投票调查中投票。
不可上传附件。
不可不经审核直接发帖。
不可使用主题类别。
不可使用HTML语法。
不可使用签名档。

[高级搜索]