注册
登陆
首页
关于
新闻
文档
论坛
下载
用户名
密码
记住我
还未注册?
技术论坛
通过email发送
Email 地址
*
标题
*
内容
*
回复: 如何修改某些模块的编辑器? http://xoops.org.cn/modules/wfdownloads/singlefile.php?lid=201 修改那个文件啊,太含糊了! 关于SPAW editor 在需要使用WYSIWYG编辑器的地方,以News模块为例: $sform = new XoopsThemeForm(_NW_SUBMITNEWS, "storyform", XOOPS_URL.'/modules/'.$xoopsModule->getVar('dirname').'/submit.php'); ...... if ( is_readable(XOOPS_ROOT_PATH . "/class/spaw/formspaw.php")) { include_once XOOPS_ROOT_PATH . "/class/spaw/formspaw.php"; $editor = new XoopsFormSpaw(_AM_EXTEXT, 'bodytext', $bodytext, "100%", '400px'); }else{ $editor = new XoopsFormDhtmlTextArea(_AM_EXTEXT, 'bodytext', $bodytext, 15, 60, 'bodytext_hidden'); } $sform->addElement($editor, false); unset($editor); ...... 更多... http://xoops.org.cn/modules/newbb/viewtopic.php?topic_id=33436&post_id=81648