Home > Article > CMS Tutorial > How to modify the dedecms pagelist tag
How to modify the dedecms pagelist tag?
Homepage We just open a page with the pagelist tag and find
Recommended learning: 梦Weavercms
The code is as follows:
{dede:pagelist listitem="info,index,end,pageno" listsize="5" /}
It is useless to modify it directly. We need to find the corresponding files. These files are in the include directory. We find arc_listview.class.php and open it to find
The code is as follows :
function GetPageListST($list_len,$listitem="index,end,pre,next,pageno",$pagelisttype='')
This function is the paging function. It is only for static pages. If you want to modify the dynamic page, you can find it.
The code is as follows:
function GetPageListDM($list_len,$listitem="index,end,pre,next,pageno")
So you can modify it at will. , I only modify one place, such as
The code is as follows:
$maininfo = "<li><span class="pageinfo">共<strong>{$totalpage}</strong>页 www.hzhuti.com共有".$this->Fields['typename']."手机主题".$this->TotalResult."条</span></li>rn";
This way it can be KO.
The above is the detailed content of How to modify the dedecms pagelist tag. For more information, please follow other related articles on the PHP Chinese website!