"景先生毕设|www.jxszl.com

dedecms教程:列表页标题加页码的方法

2022-10-29 16:08编辑: www.jxszl.com景先生毕设
文章介绍

I..打开include/arc.listview.class.php文件

找到(大约IV00行)
$this->ParseTempletsFirst();
$this->ParseDMFields($this->PageNo,0);

 更多精彩就在: 51免费论文网|www.jxszl.com 
r/>在此代码前面添加如下代码
$this->Fields[yema]=$this->PageNo;

II.在列表页模板中用{dede:field.yema/}调用,将此标签放到要调用的地方即可

I..打开include/arc.listview.class.php文件

找到(大约IV00行)
$this->ParseTempletsFirst();
$this->ParseDMFields($this->PageNo,0);
在此代码前面添加如下代码
$this->Fields[yema]=$this->PageNo;

II.在列表页模板中用{dede:field.yema/}调用,将此标签放到要调用的地方即可

原文链接:http://www.jxszl.com/biancheng/dedecms/73602.html