2、ckplayer播放器,支持本地flv,mp4
3、动态百度地图
kindeditor织梦版(gbk/utf8)打包下载
云盘下载:http://pan.baidu.com/s/1dF1WKJv 密码: vwea
该版本为4.1.10,需要4.1.4版本的请移步《织梦整合编辑器Kindeditor 4.1.4 GBK+UTF一键安装》
下载解压,选择对应的编码版本,把include文件夹上传到网站根目录
Dedecms utf8编码程序的
打开 include/inc/inc_fun_funAdmin.PHP 找到
else {
/*
// ------------------------------------------------------------------------
// 当前版本,暂时取消dedehtml编辑器的支持
在它的上面加入
else if($GLOBALS['cfg_html_editor']=='kindeditor') { $fvalue =htmlspecialchars($fvalue); $uploadJson = $GLOBALS['cfg_cmspath']."/include/dialog/kindeditor_post.PHP"; $fileManagerjson = $GLOBALS['cfg_cmspath']."/include/dialog/kindeditor_manager.PHP"; $allowFileManager = 'true'; $extendconfig = ''; if($etype == 'Member' || $etype == 'MemberLit' || $etype == 'Diy' || $etype == 'Feedback') { $uploadJson = ""; $fileManagerjson = ""; $allowFileManager = 'false'; $extendconfig = 'allowImageUpload : false,'; $extendconfig .= 'allowFlashUpload : false,'; $extendconfig .= 'allowMediaUpload : false,'; $extendconfig .= 'allowFileUpload : false,'; } $items['Member'] = "[ 'source', '|', 'undo', 'redo', 'preview', 'print', 'template', 'cut', 'copy', 'paste','plainpaste', 'wordpaste', 'justifyleft', 'justifycenter', 'justifyright','justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript','superscript', 'clearhtml', 'quickformat', 'selectall', 'fullscreen', '/','formatblock', 'fontname', 'fontsize', 'forecolor', 'hilitecolor', 'bold','italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', 'image','flash', 'media', 'insertfile', 'table', 'hr', 'emoticons', 'map', 'pagebreak','link', 'unlink', 'about']"; $items['Small'] = $items['MemberLit'] = $items['Diy'] = "[ 'fontname', 'italic','removeformat','insertunorderedlist', 'link']"; $items['Feedback']= "[ 'fontname', 'emoticons']"; $itemconfig = ''; if(isset($items[$etype])) { $itemconfig = "items :{$items[$etype]},"; } $session_id = session_id(); $code = <<sspath : '{$GLOBALS['cfg_cmspath']}/include/kindeditor/plugins/code/prettify.css',uploadJson : '$uploadJson',fileManagerjson : '$fileManagerjson',filterMode: false,//是否开启过滤模式 extraFileUploadParams: { PHPSESSID : '{$session_id}' },$extendconfig $itemconfig allowFileManager : {$allowFileManager},afterBlur: function(){this.sync();} }); prettyPrint(); });
Dedecms gbk编码程序的
打开 include/inc/inc_fun_funAdmin.PHP 找到
else {
/*
// ------------------------------------------------------------------------
// 当前版本,"; } $session_id = session_id(); $code = <<
最后
后台-系统-系统基本参数-核心设置-Html编辑器 ,填写kindeditor
要实现代码高亮需在前台模板页(比如我的是aricle_aritlce.htm)需引入以下几个文件: