DEDE's pages are displayed in two ways: dynamic and static. Obviously, there will be two tag parsing functions, corresponding to static and dynamic pages respectively. First find the arc.archives.class.php file in the include folder. The path is: \include\arc.archives.class.php
If it is dynamic, ctrl F searches for function GetPagebreakDM($totalPage, $nowPage, $aid) If it is static, ctrl F searches for function GetPagebreak($totalPage, $nowPage, $aid)
Take static as an example:
/** * 获得静态页面分页列表 * * @access public * @param int $totalPage 总页数 * @param int $nowPage 当前页数 * @param int $aid 文档id * @return string */ function GetPagebreak($totalPage, $nowPage, $aid) { if($totalPage==1) { return ""; } $PageList = "<li><a>共".$totalPage."页: </a></li>"; $nPage = $nowPage-1; $lPage = $nowPage+1; if($nowPage==1) { $PageList.="<li><a href='#'>上一页</a></li>"; } else { if($nPage==1) { $PageList.="<li><a href='".$this->NameFirst.".".$this->ShortName."'>上一页</a></li>"; }
For more technical articles related to DedeCMS, please visit the DedeCMS Tutorial column to learn!
The above is the detailed content of Where is the dedecms paging css file?. For more information, please follow other related articles on the PHP Chinese website!