dedecms教程:列表页标题加页码的方法
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