eyoucms调取当前tag列表页面的文档总数及点击数

作者:admin 分类:eyoucms使用教程 时间:2024-10-10 浏览:
修改文件
/application/home/controller/Tags.php
找到如下代码(大概在130行左右):
'litpic'   => !empty($tagindexInfo['litpic']) ? handle_subdir_pic($tagindexInfo['litpic']) : $tagindexInfo['litpic'],
在此代码下方添加代码
'tagcount'   => !empty($tagindexInfo['count']) ? $tagindexInfo['count'] : $tagindexInfo['count'],
'tagtotal'   => !empty($tagindexInfo['total']) ? $tagindexInfo['total'] : $tagindexInfo['total'],
模板调取标签
{$eyou.field.tagtotal}
{$eyou.field.tagcount}


文章链接:https://eyhtml.com/xinwendongtai/550.html
文章标题:eyoucms调取当前tag列表页面的文档总数及点击数
文章版权:所发布的内容,部分为原创文章,转载请注明来源,网络转载文章如有侵权请联系我们!
本文最后更新发布于2024-10-10

相关阅读

温馨提示
体育网站代建
本站即将上线大量足球直播网站 ,体育足球篮球比赛直播信号
我要查看