Dede调用dz论坛帖子/分类信息的标签代码


 1、DZ7.0论坛调用标签代码。

 

以下为引用的内容:
{dede:loop table="cdb_threads" sort="tid" row="6"} 
<LI><A target="_blank" href="/viewthread.php?tid=[field:tid /]">[field:subject function="cn_substr('@me',60)" /]</A> 
{/dede:loop}

  其中: cdb_为DZ论坛数据库前缀 bbs/ 当然也改为你的论坛目录

 

  2、分类信息调用标签代码

 

以下为引用的内容:
{dede:arclistsg row='26' titlelen='46' orderby='rand' channelid='-8' typeid='8' idlist=''} 
<LI>[[field:typelink/]] [field:textlink/]<br/> 
{/dede:arclistsg}

 

  3、DZ论坛精华帖调用

 

以下为引用的内容:
{dede:loop table="cdb_threads" if='digest>0' sort="tid" row="8"} 
<LI><A target="_blank" href="/viewthread.php?tid=[field:tid /]">[field:subject function="cn_substr('@me',34)" /]</A> 
{/dede:loop}

  注:调用标签开头 {dede: 如 {dede:loop table 和{dede:arclistsg

 

  调用标签结尾 {/dede: 如 {/dede:loop} 和{/dede:arclistsg}