|
修改方法:
打开 /include/taglib/tag.lib.php 文件
找到
$row['link', = $cfg_cmsurl."/tags.php?/".urlencode($row['keyword',)."/";
在此代码下边添加
$count = $dsql->GetOne("Select count(tid) From `dede_taglist` where tag = '".$row['tag',."'");
$row['count', = $count['count(tid)',;
最新tag标签调用示例:
{dede:tag row='60' sort='new'}
[url=[field:link/,,[field:tag /,([field:count/,)[/url]
{/dede:tag} |
|