织梦V5.7sp2移动端页面点击下一篇获取不到id解决方法
1.首先找到网站目录下面的/include/arc.archives.class.php文件 2.找到837行的如下内容 if ( defined('DEDEMOB') ) { $mlink = 'view.php?aid='.$preRow['id']; } else { $mlink = GetFileUrl($nextRow['id'],$nextRow['typeid'],$nextRow['senddate'],$nextRow['title'],$nextRow['ismake'],$nextRow['arcrank'], $nextRow['namerule'],$nextRow['typedir'],$nextRow['money'],$nextRow['filename'],$nextRow['moresite'],$nextRow['siteurl'],$nextRow['sitepath']); } 3 并将其中的把这一行 $mlink = 'view.php?aid='.$preRow['id']; 修改为 $mlink = 'view.php?aid='.$nextRow['id']; 保存模板之后重新生成页面,这个问题只适用于dedecmsV5.7sp2 (编辑:甘南站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |