语法:[tagsinfo]TAGS的ID,显示条数,标题截取数,标签模板ID,栏目ID,系统模型ID[/tagsinfo]

1、按照标签数量降序排列

[showtags]'',0,0,'num desc',0,'',' ',0,'','tagname'[/showtags]

2、标签随机显示,并且指定列表模板ID

<div class="whitebg cloud">
  <h2 class="side-title">标签云</h2>
  <ul>
 [showtags]'',20,0,'rand() desc',0,'',' ',1,'&tempid=8','tagid'[/showtags]
  </ul>
</div>

3、灵动标签调用前30条TAGS,并且按照数量多少排序

[e:loop={"select * from [!db.pre!]enewstags order by num DESC limit 30",0,24,0}]
<?
echo '<li><a href="'.$public_r[newsurl].'e/tags/?tagname='.urlencode($bqr['tagname']).'">'.$bqr['tagname'].'<span class="tag-count"> ('.$bqr['num'].')</span></a></li>';
?>
[/e:loop]