DEDE 栏目内容 {dede:field.content/} 输入值不保存解决方法
2009-12-16 16:54
295 查看
用DEDECMS的栏目内容,在IE下添加不了内容的方法如下:
建立顶级栏目的时候,IE状态栏就出现了一个错误,如下。
行:33
Char:11707
错误:由于出现错误800a025e 而导致此项操作无法完成。
代码:0
URL:http://www.xxx.com/include/FCKeditor/editor/fckeditor.html?InstanceName=content&Toolbar=Default.....
看链接的英文估计是那个内容输入编辑页面,由于是新建的,所以是空值,没有进行界限检测吗?所以出错。。
于是栏目内容便写不入数据库。或者说没能赋值给生成HTML文档的处理文件。。哈。。
以下是GOOGLE得出来的结果:
最佳解决方案:由于出现错误 800a025e 导致此项操作无法完成
研究了fckeditor的部分代码,发现当iRite的值是empty的时候,以下配置将在IE中失效:
(FCKConfig.StartupFocus = false).
fix(修复方法如下),目前有两种方法:
1.设置一个默认值给fceditor.value, 例如
2.或者在editor/js/fckeditorcode_ie.js文件中添加以下代码:
===========================================================================
解决方法如下:
===========================================================================
在include/FCKeditor/editor/js/fckeditorcode_ie.js文件中添加以下代码:
..IEquals('body')){if
(FCK.EditorDocument.body.childNodes.length==1&&FCK.EditorDocument.body.firstChild==D){
/* INSERT HERE 在这插入哦。。
* Bug #1764: Don't move the selection if the
* current selection isn't in the editor
* document.
* Fixes FCKeditor stealing focus when empty
*/
if ( FCKSelection._GetSelectionDocument( FCK.EditorDocument.selection ) !=
FCK.EditorDocument ) { return; };
/*
*
*/
var B=FCK.EditorDocument.body.createTextRange();var F=false;if
(!D.childNodes.firstChild){D.appendChild...
红色部份是文件里已存在部份。插入蓝色的代码。。。。。黑色部份是注释部份,那个JS代码用DW打开是一连串的,不好添加注释。
我自己在{return;}后面加多了一个分号; 因为看那个JS的代码都是这样加的。。
然后关掉IE,另开一个IE进入后台。
新增顶级栏目时,IE状态栏没有错误提示了,添加简介正常了。。
建立顶级栏目的时候,IE状态栏就出现了一个错误,如下。
行:33
Char:11707
错误:由于出现错误800a025e 而导致此项操作无法完成。
代码:0
URL:http://www.xxx.com/include/FCKeditor/editor/fckeditor.html?InstanceName=content&Toolbar=Default.....
看链接的英文估计是那个内容输入编辑页面,由于是新建的,所以是空值,没有进行界限检测吗?所以出错。。
于是栏目内容便写不入数据库。或者说没能赋值给生成HTML文档的处理文件。。哈。。
以下是GOOGLE得出来的结果:
最佳解决方案:由于出现错误 800a025e 导致此项操作无法完成
研究了fckeditor的部分代码,发现当iRite的值是empty的时候,以下配置将在IE中失效:
(FCKConfig.StartupFocus = false).
fix(修复方法如下),目前有两种方法:
1.设置一个默认值给fceditor.value, 例如
2.或者在editor/js/fckeditorcode_ie.js文件中添加以下代码:
===========================================================================
解决方法如下:
===========================================================================
在include/FCKeditor/editor/js/fckeditorcode_ie.js文件中添加以下代码:
..IEquals('body')){if
(FCK.EditorDocument.body.childNodes.length==1&&FCK.EditorDocument.body.firstChild==D){
/* INSERT HERE 在这插入哦。。
* Bug #1764: Don't move the selection if the
* current selection isn't in the editor
* document.
* Fixes FCKeditor stealing focus when empty
*/
if ( FCKSelection._GetSelectionDocument( FCK.EditorDocument.selection ) !=
FCK.EditorDocument ) { return; };
/*
*
*/
var B=FCK.EditorDocument.body.createTextRange();var F=false;if
(!D.childNodes.firstChild){D.appendChild...
红色部份是文件里已存在部份。插入蓝色的代码。。。。。黑色部份是注释部份,那个JS代码用DW打开是一连串的,不好添加注释。
我自己在{return;}后面加多了一个分号; 因为看那个JS的代码都是这样加的。。
然后关掉IE,另开一个IE进入后台。
新增顶级栏目时,IE状态栏没有错误提示了,添加简介正常了。。
相关文章推荐
- dedecms任意页面调用栏目内容标签{dede:field.content/}的方法
- dedecms任意页面调用栏目内容标签{dede:field.content/}的方法
- dede首页调用栏目内容{dedefield.content}的方法
- DEDE怎样在首页调用频道封面页{dede:field:content/}内容的方法
- dedecms织梦无法保存栏目内容的解决方法
- dedecms 在内容模板里调用栏目内容即{dede:field.content/}
- 织梦5.7 首页调用栏目内容 {dede:field.content/}
- 织梦内容页调用栏目内容标签{dede:field.content/}
- 使用DEDCMS栏目内容{dede:field.content/}调用实现企业简介之类的用途
- dede首页调用栏目内容_{dede:field.content/}首页调用
- DedeCms V5.3“栏目内容”无法保存和修改的问题解决方法
- 织梦内容页调用栏目内容标签{dede:field.content/}
- DEDE调用频道封面{dede:field:content/}内容方法
- [DedeCMS]如何在内容模板里调用栏目内容即{dede:field.content/}
- dede栏目无法更新的解决方法 添加了内容的栏目无法更新
- textField 代理方法 输入内容后 内容判空控制
- <textarea>里的内容保存MYSQL后,页面输出不换行的解决方法
- dede调用指定栏目id {dede:field.content/}
- 使用iScroll时,input等不能输入内容的解决方法
- dede使用channelartlist在列表页和内容页调用同级栏目的方法