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

相关阅读

温馨提示
新春特惠活动持续至马年元宵节
月费会员只要19元,终身会员原价299,现价只要99元。终身会员商业模板5折出售,最近大量模板陆续上新中!
我要查看