织梦栏目列表文档总数量用标签输出(支持筛选)

实现教程

打开 /include/arc.listview.class.php 找到 (大约在673行)

else if($PageNo!=1 && $ctag->GetName()=='field' && $ctag->GetAtt('display')!='')

在它上面加入

else if($ctag->GetName()=="itemcount")
{   
	$this->dtp->Assign($tagid,$this->TotalResult);
}

栏目列表模板调用标签写法

{dede:itemcount/}
原文地址:https://www.cnblogs.com/dedehtml/p/9913961.html