{dede:field.content/}是怎样使用的

引用请注明出处: https://seonoco.com/blog/1184

NOCO发布于 分类 PHP

10天前 有1个用户阅读过

本文来自我的百度空间博客详情

2007年开始使用的是 hi.baidu.com/udjy
后来百度空间强制升级为轻博客 hi.baidu.com/imnoco
2015年百度关闭了百度空间

复制一个   list_article.htm   改名   list_article_content.htm

打开文件找到代码:

{dede:list pagesize='10'}

....

{/dede:list}

改为

{dede:field.content/}

然后把该栏目的生成   列表默认页 改为   list_article_content.htm

如果"栏目内容"无法保存请进行以下操作------------------------

在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...
红色部份是文件里已存在部份。插入蓝色的代码。。。。。

-- The End --

本文标题: {dede:field.content/}是怎样使用的

本文地址: https://seonoco.com/blog/1184

本文是否有所帮助?
点赞 0
感谢支持
0
多谢反馈
评论 0
打赏

支持微信/支付宝

评论

网友