百度手机版ueditor编辑器器怎么获取MYSQL数据库信息PHP

查看: 26200|回复: 44
PHPCMS V9.5.4 改用百度UEditor在线编辑器1.4.3,成功支持IE、FF、Chome、Opera等
插件名称:UEditor在线编辑器1.4.3
适用版本:v9
语言编码:UTF8简体&
插件作者:baidu
版权所属:baidu
支持网站:baidu
插件介绍:UEditor是由百度web前端研发部开发所见即所得富文本web编辑器,具有轻量,可定制,注重用户体验等特点,开源基于MIT协议,允许自由使用和修改代码。
适用版本号:V9.5.4
本帖最后由 syd168 于
08:56 编辑
PHPCMS自带的编辑器感觉不好用!PHPCMS 集成Ueditor1.4.3 在线编辑器
一、主要完成的修改
& && &1. 上传图片到网站默认的路径,并可以修改路径
& && &2. 支持图片批量上传
& && &3. 支持直接复制word文件,而且格式非常完美,支持word图片上传(但只能一个个上传,不支持自动上传,高手可以完成)
& && &4. 支持远程复制图片
& && &5. 支持上传视频 达到100M以上(需要服务器支持),并可以设置上传路径
& && &6. 支持涂鸦功能(一个小窗口内随便写字画画,生成图片),目前不支持IE11浏览器
& && &7. 支持百度地图动态地图,google地图被封杀不支持,我关闭了
& && &8. 支持文档模板功能,用内置的模板简单设置格式
& && &9. 支持后台上传附件的在线管理(不能直接看到的,可以切换到目录浏览模式,我设置目录格式为时间日期格式,如果你想一次修浏览成百上千的图片,那就请修改ueditor上传路径格式吧。详细请看后面的)
& && &10. 支持百度表情图片功能,最新版的哦
& && &11. 支持上传附件功能,并可以设置上传附件的路径,详细请看后面修改。
& && &12. 支持屏幕裁剪功能,需要安装一个小插件(自带)
& && &13. 支持常见编程语言代码格式功能,但没验证是否支持色彩编码
& && &14. 支持打印和预览功能
& && &15. 支持常见的编辑功能。图片属性设置,表格属性设置,发布页面背景设置(图像或色彩)
& && &16. 支持编辑中的撤销充分功能
& && &17. 支持编辑过程中的自动保存功能
& && &18. 解决了IE中后台中有些编辑窗口不显示编辑器问题
& && &19. 解决了后台编辑窗口中编辑器的自适应宽度问题
& && &20. 目前在IE6-11,Chrome,opera,Firefox浏览器测试基本正常。
& && &21. 解决后台上传视频无法播放问题(改用emberd标记,原来是video标记)
& &特别声明:因为我仅仅用一个下午完成的,而且我是PHP入门者,仅仅学了2天(是真心话)。对于编程技术,移植的更多方面我思考甚少。
况且,本次完成移植没经过太多太细的测试,一定存在不少问题,恳请大家批评谅解。发现问题,及时纠正,也好让我自己用的也能不断完善。谢谢!!!
二、具体修改步骤
& && &修改前,请备份网站!!!
1.& & & & 下载UEditor1.4.3代码Utf-8版本(GBK版本修改思路一致)
2.& & & & 解压后,复制到PHPCMS下的statics\js\下,命名文件夹为ueditor143
3.& & & & 修改phpcms\libs\classes\ form.class.php中开头的editor函数为如下内容(原函数的{& &}内):
& && && && &&&$str ='';
& & & & & & & &&&if(!defined('EDITOR_INIT')) {
& && && && && && && && & $str .= '&script type=&text/javascript& src=&'.JS_PATH.'ueditor143/ueditor.config.js&&&/script&';
& && && && && && && && & $str .= '&script type=&text/javascript& src=&'.JS_PATH.'ueditor143/ueditor.all.js&&&/script&';
& && && && && && && && & $str .= '&link rel=&stylesheet& href=&'.JS_PATH.'ueditor143/themes/default/ueditor.css&/&';
& && && && && && && && & define('EDITOR_INIT', 1);
& && && && && &&&}
& && && && && &&&$str .= &&script type=\&text/javascript\&&\r\n&;
& && && && && &&&$str .= &var editor = new baidu.editor.ui.Editor();editor.render('$textareaid');&;
& && && && && &&&$str .= '&/script&';
& & & & & & & &
& & & & & & & &
& & & & & & & & $ext_str = &&div class='editor_bottom'&&;
& & & & & & & & if(!defined('IMAGES_INIT')) {
& & & & & & & & & & & & $ext_str .= '&script type=&text/javascript& src=&'.JS_PATH.'swfupload/swf2ckeditor.js&&&/script&';
& & & & & & & & & & & & define('IMAGES_INIT', 1);
& & & & & & & & }
& & & & & & & & //--syd168--
& & & & & & & & //下面的table添加display:none样式,将其关闭&&syd168
& & & & & & & & $ext_str .= &&div id='page_title_div'&& & & & & & & &
& & & & & & & &
& & & & & & & & &table style='display:none' cellpadding='0' cellspacing='1' border='0'&&tr&&td class='title'&&.L('subtitle').&&span id='msg_page_title_value'&&/span&&/td&&td&
& & & & & & & & &a class='close' href='javascript:;' onclick='javascript:$(\&#page_title_div\&).hide();'&&span&×&/span&&/a&&/td&
& & & & & & & & &tr&&td colspan='2'&&input name='page_title_value' id='page_title_value' class='input-text' value='' size='30'&&&input type='button' class='button' value='&.L('submit').&' onclick=insert_page_title(\&$textareaid\&,1)&&/td&&/tr&
& & & & & & & & &/table&&/div&&;
& & & & & & & & $ext_str .= &&/div&&;
& & & & & & & & if(is_ie()) $ext_str .= &&div style='display:none'&&OBJECT id='PC_Capture' classid='clsid:021E8C6F-52D4-42F2-9B36-BCFBAD3A0DE4'&&PARAM NAME='_Version' VALUE='0'&&PARAM NAME='_ExtentX' VALUE='0'&&PARAM NAME='_ExtentY' VALUE='0'&&PARAM NAME='_StockProps' VALUE='0'&&/OBJECT&&/div&&;
& & & & & & & & $str .= $ext_
& & & & & & & & return $复制代码
4. 修改phpsso_server\phpcms\libs\classes\ form.class.php中的函数editor内容(原函数的{ }内)为:
&&
& && && && && &//====syd168============
& && && && && & $str ='';
& & & & & & & &&&if(!defined('EDITOR_INIT')) {
& && && && && && && && & $str .= '&script type=&text/javascript& src=&'.JS_PATH.'ueditor143/ueditor.config.js&&&/script&';
& && && && && && && && & $str .= '&script type=&text/javascript& src=&'.JS_PATH.'ueditor143/ueditor.all.js&&&/script&';
& && && && && && && && & $str .= '&link rel=&stylesheet& href=&'.JS_PATH.'ueditor143/themes/default/ueditor.css&/&';
& && && && && && && && & define('EDITOR_INIT', 1);
& && && && && &&&}
& && && && && &&&$str .= &&script type=\&text/javascript\&&\r\n&;
& && && && && &&&$str .= &var editor = new baidu.editor.ui.Editor();editor.render('$textareaid');&;
& && && && && &&&$str .= '&/script&';
& && && && && & $ext_str = &&div class='editor_bottom'&&;
& & & & & & & & if(!defined('IMAGES_INIT')) {
& & & & & & & & & & & & $ext_str .= '&script type=&text/javascript& src=&'.JS_PATH.'swfupload/swf2ckeditor.js&&&/script&';
& & & & & & & & & & & & define('IMAGES_INIT', 1);
& & & & & & & & }
& & & & & & & &
& & & & & & & & $ext_str .= &&div id='page_title_div'&
& & & & & & & & &table cellpadding='0'style='display:none' cellspacing='1' border='0'&&tr&&td class='title'&&.L('paging').&&span id='msg_page_title_value'&&/span&&/td&&td&
& & & & & & & & &a class='close' href='javascript:;' onclick='javascript:$(\&#page_title_div\&).hide();'&&span&×&/span&&/a&&/td&
& & & & & & & & &tr&&td colspan='2'&&input name='page_title_value' id='page_title_value' class='input-text' value='' size='40'&&&input type='button' class='button' value='&.L('submit').&' onclick=insert_page_title(\&$textareaid\&,1)&&/td&&/tr&
& & & & & & & & &/table&&/div&&;
& & & & & & & & $ext_str .= &&div id=\&MM_file_list_&.$textareaid.&\& style=\&text-align:left\&&&/div&&div id='FilePreview' style='Z-INDEX: 1000; LEFT: 0 WIDTH: 10 POSITION: TOP: 0 HEIGHT: 10 display:'&&/div&&div id='&.$textareaid.&_save'&&/div&&;
& & & & & & & & $ext_str .= &&/div&&;
& & & & & & & & $str .= $ext_
& & & & & & & & return $
& & & & & & & & //=======syd168=========
& && & 复制代码
4.& & & & 修正上传路径问题,修正为网站固定路径
& & 修改文件statics\js\ueditor143\php\action_upload.php中的56行前面添加如下内容
//====syd168=========修改上传路径部分,红色部分为添加代码
$config[&pathFormat&]=str_replace(&/ueditor/php/upload/&,&/zhmdw/uploadfile/& ,$config[&pathFormat&]); //&&&/zhmdw“根据网站实际路径修改
/* 生成上传实例对象并完成上传 */(56行附近的内容如下)
$up = new Uploader($fieldName, $config, $base64);复制代码
5.& & & & 修正上传窗口中无法显示已上传内容问题,即可以浏览显示
在statics\js\ueditor143\php\action_list.php的31行前面添加代码
//==========syd168============确保编辑器中正常显示本站内容
$path = str_replace(&/ueditor/php/upload/&,&/zhmdw/uploadfile/&,$path); //&/zhmdw“根据网站实际路径修改 ,红色部分为添加代码
//============================
/*在如下代码之前添加*/
$allowFiles = substr(str_replace(&.&, &|&, join(&&, $allowFiles)), 1);
6. 修正上传音乐和视频问题,修正代码被删除问题(当前视频上传很正常,但flash上传能播放,发布后就不能了)
& &没修正呢
7. 修正firefox无法上传附件问题(需要修改),
注释掉phpcms\modules\attachment\attachments.php的如下代码(20行左右),就可以确保firefox上传缩略图
& && && && && & //判断是否登录,注释掉下面几行,就fireforx可以上传缩略图了!!!---syd168
& & & & & & & & //& & & & if(empty($this-&userid)){
& & & & & & & & //& & & & & & & & showmessage(L('please_login','','member'));
& & & & & & & & //& & & & }
& && && && && &复制代码
8. 修正网站非根站点问题,修正首页显示不正常问题
修改模板目录下的head.html模板中的如下行
& &&&&li&&a href=&{siteurl($WEB_PATH)}&&&span&首页&/span&&/a&&/li&
复制代码
9. 修正表情图标的本地化问题(依然存在问题,会自动携带域名,不便于网站移植)
下载表情图标(http://ueditor.baidu.com/build/build_down.php?n=ueditor-emotion.zip),并按照说明文档修改
修改编辑器配置文件ueditor.config.js中的如下行:
& && &,emotionLocalization:true //是否开启表情本地化,默认关闭。若要开启请确保emotion文件夹下包含官网提供的images表情文件夹
复制代码
10. 修正视频上传大小限制问题,通过phpstudy修改
& &可能是编辑器限制(在Ueditor配置文件中找),也可能是web服务器限制,也可能是服务器代码时常限制,也可能是网站本身限制),修改编辑器后台配置
11. 修正上传文件命名问题,修改编辑器配置文件json
在编辑器的配置文件statics\js\ueditor143\php\ config.json中做如下修改:
将其中的…PathFormat全部修改为如下格式:
& &&&/ueditor/php/upload/image/{yyyy}{mm}{dd}/{yyyy}{mm}{dd}{hh}{ii}{ss}{rand:3}
复制代码
12. 修正Ueditor编辑器按钮问题,取消百度应用按钮(实际上没用),我同时取消了google地图按钮(好东西被和谐了,大家都知道的)
在编辑器的配置文件ueditor.config.js中做如下修改(注释行是我修改过的):
, toolbars: [[
& && && && &'fullscreen', 'source', '|', 'undo', 'redo', '|',
& && && && &'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|',
& && && && &'rowspacingtop', 'rowspacingbottom', 'lineheight', '|',
& && && && &'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|',
& && && && &'directionalityltr', 'directionalityrtl', 'indent', '|',
& && && && &'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|',
& && && && &'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|',
& && && &&&// 'simpleupload', 'insertimage', 'emotion', 'scrawl', 'insertvideo', 'music', 'attachment', 'map', 'gmap', 'insertframe', 'insertcode', 'webapp', 'pagebreak', 'template', 'background', '|',
& & & && &&&'simpleupload', 'insertimage', 'emotion', 'scrawl', 'insertvideo', 'music', 'attachment', 'map',&&'insertframe', 'insertcode', 'pagebreak', 'template', 'background', '|',
& && && && &'horizontal', 'date', 'time', 'spechars', 'snapscreen', 'wordimage', '|',
& && && && &'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', 'charts', '|',
& && && & // 'print', 'preview', 'searchreplace', 'help', 'drafts'
&&& & & && &&&'print', 'preview', 'searchreplace', 'help','drafts'
复制代码
14. 修正远程抓取图片问题以及保存路径
修改statics\js\ueditor143\php\ action_crawler.php中的红色内容(添加的)
/* 上传配置 */
$config = array(
& & &pathFormat& =& $CONFIG['catcherPathFormat'],
& & &maxSize& =& $CONFIG['catcherMaxSize'],
& & &allowFiles& =& $CONFIG['catcherAllowFiles'],
& & &oriName& =& &remote.png&
);
//========syd168=========修正远程抓取图片保存位置
$config[&pathFormat&] = str_replace(&/ueditor/php/upload/&,&/zhmdw/uploadfile/& ,$config[&pathFormat&]); //&/zhmdw“根据网站实际路径修改
//===============================================
复制代码
15.=========后台内容列表中的文章链接不对,当网站非根站点(即在子目录中),缺少站点虚拟目录
找到链接位置,将链接前缀修改为{WEB_PATH}即可
16. 涂鸦功能(IE浏览器图标是灰色的,FF浏览器和google浏览器均可以用)
17 删除在线编辑器中的内容框后面多出的“子标题“问题=============
给phpcms\libs\classes\form.class.php中的如下代码(public static function editor函数中)后的table添加 style=”display:none”样式即可
$ext_str .= &&div id='page_title_div'&& & & &
18.修正后台管理界面顶部链接“网站首页”的错误
修改文件phpcms\modules\admin\templates\ index.tpl.php:
&!--a href=&&?php echo $currentsite['domain']?&& target=&_blank& id=&site_homepage&&&?php echo L('site_homepage')?&&/a&&span&|&/span--&
复制代码
& && && && &&!--syd168 后台链接到首页的错误--&
& && && && &&a href=&?php echo WEB_PATH?& target=&_blank& id=&site_homepage&&&?php echo L('site_homepage')?&&/a&&span&|&/span&
复制代码
19.顶部不显示登录问题IE浏览器 8-9-10
修改当前模板文件夹下的\member\mimi.html的如下红色部分
&!--首页顶部登陆块不显示问题 syd168--&
&style&
body, html {
& & & & background:
& & & & padding: 0;
& & & & margin: 0
}
.log {
& & & & line-height: 24
*line-height:27
& & & & height: 24
& & & & float:
& & & & font-size: 12
*margin:-20px 0 0;/*缺少该代码 顶部登陆不显示*/
}
复制代码
20. IE浏览器的反向链接错误
修改statics\js\content_addtop.js
function ruselinkurl() {
& && &&&if($('#islink').attr('checked')=='checked') {
& && && && && & $('#linkurl').attr('disabled',false);
& & & & & & & & & & & &
& && && && && & /*注释 syd168===============
& && && && && &// var oEditor = CKEDITOR.instances.
& && && && && &// oEditor.insertHtml(' ');
& & & && && &&&*/& & & &
& && && && &&&//添加下行代码& & & & & & & && &&&
& && && && && &UE.getEditor('editor').setContent('& &', false); //添加syd168
& && && && && &
& && &&&} else {
& && && && && & $('#linkurl').attr('disabled','true');
& && &&&}
}
复制代码
//==========非常重要!!! 编辑器自适应富窗口宽度!!!
21. 修改ueditor.config.js中的
& &&&,initialFrameWidth:600 //为指定宽度
22. 注释掉ueditor.all.js中的如下行,可以使得编辑器能随窗口大小而自适应
& & //editor.container.style.width = opt.initialFrameWidth + (/%$/.test(opt.initialFrameWidth) ? '' : 'px');
23. 在ueditor143\themes\default\css\ueditor.css开头加入如下两行,自适应宽度
/*=============syd168添加,自适应窗口宽度=======================*/
#edui1{width:100% !important}/* 这个ID为编辑器的ID */
#edui1_iframeholder{width:100% !important}/* 这个ID为编辑器可编辑区域的ID */
#description{width:100%!important}&&/*解决支付模块配置中编辑窗口无法自适应问题*/
/*=============syd168添加,自适应窗口宽度=======================*/
24. 可以删除ckeditor文件夹了,两处:phpsso_server\statics\js\ckeditor和statics\js\ckeditor
25. 修正评论窗口无法看到发表按钮的bug
& & 打开当前模板(在\phpcms\templates\模板文件夹名\下的show.html
& &在80行左右,找到如下代码:
& & &script type=&text/javascript& language=&javascript&&& &function iFrameHeight() {& &var ifm= document.getElementById(&MyIframePage&);& &var subWeb = document.frames ? document.frames[&iframepage&].document : ifm.contentD& &if(ifm != null && subWeb != null) {& &ifm.height = subWeb.body.scrollH}& &}& &&/script&
& &给其前面的iframe元素人为设置高度为260,可以根据需要调整:
&&&iframe height=&260& src=&{APP_PATH}index.php?m=comment&c=index&a=init&commentid={id_encode(&content_$catid&,$id,$siteid)}&iframe=1& width=&100%& height=&100%& id=&comment_iframe& frameborder=&0& scrolling=&no& onLoad=&iFrameHeight()& id=&MyIframePage& &&/iframe&
26. 后台上传视频无法播放问题的解决
&&打开文件statics\js\ueditor143\ueditor.all.js,替换方框中如下部分为下面黄色部分
case 'video':
//视频插件脚本生成 ===syd168!!!==========
& && && && && &/* var ext = url.substr(url.lastIndexOf('.') + 1);
& && && && && & if(ext == 'ogv') ext = 'ogg';
& && && && && & str = '&video' + (id ? ' id=&' + id + '&' : '') + ' class=&' + classname + ' video-js& ' + (align ? ' style=&float:' + align + '&': '') +
& && && && && && &&&' controls preload=&none& width=&' + width + '& height=&' + height + '& src=&' + url + '& data-setup=&{}&&' +
& && && && && && &&&'&source src=&' + url + '& type=&video/' + ext + '& /&&/video&';
& && && && && &
& & & & & & & & & & & & & & & & */
& & & & & & & & & & & & & & & &&&var ext = url.substr(url.lastIndexOf('.') + 1);
& && && && && & if(ext == 'ogv') ext = 'ogg';
& & & & & & & & & & & & & & & && &str = '&embed type=&application/x-shockwave-flash& class=&edui-fake-video& pluginspage=&http://www.macromedia.com/go/getflashplayer&' +
& && && && && && &&&' src=&' +&&utils.html(url) + '& width=&' + width&&+ '& height=&' + height&&+ '&'&&+ (align ? ' style=&float:' + align + '&': '') +
& && && && && && &&&' wmode=&transparent& play=&true& loop=&false& menu=&false& allowscriptaccess=&never& allowfullscreen=&true& &';
& & & & & & & & & & & & & & & & & & & &
复制代码
编辑器下载(只包含UEditor代码):http://pan.baidu.com/s/1c0b6rCk
本帖子中包含更多资源
才可以下载或查看,没有帐号?
真心希望您可以继续开发下去
支持你继续开发下去
测试发现上面的代码有问题。。更新如下。对单页模块好像没有用。估计调用的方式不一样。
&?php
/**
* 更新缓存类
* 二次开发部分
defined('IN_PHPCMS') or exit('No permission resources.');
class MY_cache_api extends cache_api {
& & & & /**
& & & &&&* 构造方法
& & & & */
& & & & public function __construct() {
& & & & & & & & parent::__construct();
& & & & }
& & & &
& & & & /**
& & & &&&* 更新模型缓存方法
& & & &&&* 测试二次开发更换百度编辑器
& & & & */
& & & & public function sitemodel() {
& & & & & & & & define('MODEL_PATH', PC_PATH.'modules'.DIRECTORY_SEPARATOR.'content'.DIRECTORY_SEPARATOR.'fields'.DIRECTORY_SEPARATOR); //定义模型路径
& & & & & & & & define('CACHE_MODEL_PATH', PHPCMS_PATH.'caches'.DIRECTORY_SEPARATOR.'caches_model'.DIRECTORY_SEPARATOR.'caches_data'.DIRECTORY_SEPARATOR); //定义模型缓存路径
& & & & & & & & require MODEL_PATH.'fields.inc.php'; //载入模型路劲下的字段列表
& & & & & & & & //更新内容模型类:表单生成、入库、更新、输出
& & & & & & & & $classtypes = array('form','input','update','output');
& & & & & & & & foreach($classtypes as $classtype) {
& & & & & & & & & & & & $cache_data = file_get_contents(MODEL_PATH.'content_'.$classtype.'.class.php');
& & & & & & & & & & & & $cache_data = str_replace('}?&','',$cache_data);
& & & & & & & & & & & & foreach($fields as $field=&$fieldvalue) {
& & & & & & & & & & & & & & & & if(file_exists(MODEL_PATH.$field.DIRECTORY_SEPARATOR.$classtype.'.inc.php')) {
& & & & & & & & & & & & & & & & & & & & if($field == 'editor'){ //编辑器替换
& & & & & & & & & & & & & & & & & & & & & & & & $filecont = file_get_contents(MODEL_PATH.$field.DIRECTORY_SEPARATOR.$classtype.'.inc.php');
& & & & & & & & & & & & & & & & & & & & & & & & $cache_data .= str_replace('form::editor','MY_form::editor',$filecont);
& & & & & & & & & & & & & & & & & & & & }else{ //原始
& & & & & & & & & & & & & & & & & & & & & & & & $cache_data .= file_get_contents(MODEL_PATH.$field.DIRECTORY_SEPARATOR.$classtype.'.inc.php');
& & & & & & & & & & & & & & & & & & & & }
& & & & & & & & & & & & & & & & }
& & & & & & & & & & & & }
& & & & & & & & & & & & $cache_data .= &\r\n } \r\n?&&;
& & & & & & & & & & & & file_put_contents(CACHE_MODEL_PATH.'content_'.$classtype.'.class.php',$cache_data);
& & & & & & & & & & & & chmod(CACHE_MODEL_PATH.'content_'.$classtype.'.class.php',0777);
& & & & & & & & }
& & & & & & & & //更新模型数据缓存
& & & & & & & & $model_array = array();
& & & & & & & & $this-&db = pc_base::load_model('sitemodel_model');
& & & & & & & & $datas = $this-&db-&select(array('type'=&0));
& & & & & & & & foreach ($datas as $r) {
& & & & & & & & & & & & $model_array[$r['modelid']] = $r;
& & & & & & & & & & & & parent::sitemodel_field($r['modelid']);
& & & & & & & & }
& & & & & & & & setcache('model', $model_array, 'commons');
& & & & & & & &
& & & & }
}
?&复制代码
本帖最后由 xukenan 于
12:58 编辑
首先感谢楼主,我找这个找了很久了,按照楼主的步骤,基本上可以正常使用,不过发现有个地方好像不对
上面第4项是不是错了
Uploader.class.php文件里面并没有需要改的,应该是action_upload.php这个文件吧,是这个文件第56行前面加代码
这个必须要赞。。。。
这个必须要赞。。。。
大婶,下载量统计 怎么做
提示: 作者被禁止或删除 内容自动屏蔽
还有很重要的问题:上传图片及附件后在phpcms后台附件管理处看不到记录及无法管理的BUG
难得有好心人还来论坛分享东西,请求您做个贴吧的模块吧,参考这个http://demo.yileit.com/
,真心小地方网友需要啊
还有很重要的问题:上传图片及附件后在phpcms后台附件管理处看不到记录及无法管理的BUG
可以的,如果不成,可能是你没注意修改提示的路径问题
本帖子中包含更多资源
才可以下载或查看,没有帐号?
可以的,如果不成,可能是你没注意修改提示的路径问题
按你这么改未使用PHPCMS V9的上传接口,怎么可能附件管理处会有上传记录?
附件管理的数据库里面的附件信息请问你是在哪边写入数据了?
按你这么改未使用PHPCMS V9的上传接口,怎么可能附件管理处会有上传记录?
附件管理的数据库里面的附 ...
附件管理问题你解决了吗
首先感谢楼主,我找这个找了很久了,按照楼主的步骤,基本上可以正常使用,不过发现有个地方好像不对
谢谢!是我写错了,已经更改了原帖。
谢谢!是我写错了,已经更改了原帖。
你好,我这里发现图片和附件有些问题,就是上传的图片和附件不会出现在附件管理里面,是不是我哪里设置的不对呢?
还有就是缩略图,文章里面有图片,但是不能生成缩略图。首页调用的地方显示暂无图片,必须再次编辑文章,点击一下裁切图片,确定一下,才能生成缩略图
收藏 这个东西太需要了
有问题大家一起研究啊
有问题大家一起研究啊
你好,我这里发现图片和附件有些问题,就是上传的图片和附件不会出现在附件管理里面,是不是我哪里设置的不对呢?
还有就是缩略图,文章里面有图片,但是不能生成缩略图。首页调用的地方显示暂无图片,必须再次编辑文章,点击一下裁切图片,确定一下,才能生成缩略图
Powered by

我要回帖

更多关于 ueditor 微信编辑器 的文章

 

随机推荐