请问Dedecms给列表页标题加上页码的方法
-
修改
arc.listview.class.php
文件- 找到
$this->ParseTempletsFirst();
和$this->ParseDMFields($this->PageNo, 0);
,在其前添加:$this->Fields['yema'] = $this->PageNo;
- 找到
-
在列表页模板中调用
- 使用以下标签调用页码:
{dede:field.yema /}
- 使用以下标签调用页码:
更新时间:2025-04-10 23:45:02
转载请注明原文链接:https://www.muzicopy.com/suibi/3410.html