<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

dedecms织梦专题节点列表内容实现分页的方法介绍

时间:2020-12-10

问题:DEDE专题节点内容列表如何分页如何实?
方法:
打开/include/arc.specview.class.php,找到
$ctag = $this->dtp->GetTag(“page”);
在下面插入

1 if(!is_object($ctag))
2 {
3 $ctag = $this->dtp->GetTag(‘list’);
4 }


注意现在代码就变成了

01 $ctag = $this->dtp->GetTag(“page”);
02 if(!is_object($ctag))
03 {
04 $ctag = $this->dtp->GetTag(‘list’);
05 }
06 if(!is_object($ctag))
07 {
08 $this->PageSize = 20;
09 }
0