[上一篇--下一篇]只调用本栏目的修改方法(本人测试没有问题),
我的版本是Powered by DEDEcms V3.1 LIT
具体方法是修改:include/inc_archives_view.php
找: $next = " dede_archives.ID>'$aid' order by dede_archives.ID asc ";
$pre = " dede_archives.ID<'$aid' order by dede_archives.ID desc ";
替换成: $row = $this->dsql->GetOne("select typeid from dede_archives where ID='$aid'");
$listid=$row[typeid];
$next = " dede_archives.ID>'$aid' and dede_archives.typeid='$listid'order by dede_archives.ID asc ";
$pre = " dede_archives.ID<'$aid' and dede_archives.typeid='$listid'order by dede_archives.ID desc ";
官方原帖:http://bbs.dedecms.com/read.php?tid=9698&fpage=3
新闻热点
疑难解答