dedecms内容页 上下篇 添加文章描述方法

dedecms5.7修改后 运行正常!

在根目录include文件夹中修改arc.archives.class.php文件,812行左右;为$query添加查询字段arc.description,分别在821和833行进行修改:

上一篇-->:

$this->PreNext['pre'] = "上一篇:<a href='$mlink'>{$preRow['title']}</a><br/><p>{$preRow['description']}...<a href='$mlink'>【详细】</a></p>";

下一篇-->:

$this->PreNext['next'] = "下一篇:<a href='$mlink'>{$nextRow['title']}</a><br/><p>{$nextRow['description']}...<a href='$mlink'>【详细】</a></p>";

保存即可!

posted on 2015-08-26 09:49  源人  阅读(173)  评论(0编辑  收藏  举报

导航