dede调用问题_百度知道回答某个网友

  • A+
所属分类:Other

dede调用问题_百度知道回答某个网友关于DedeCMS织梦模板的模板标签.

问题见:dede调用问题_百度知道

答案:

<!-- /以下是最新更新的代码 -->

<div class="listbox"> {dede:channelartlist}

<dl class="tbox">

<dt>

<strong>

最近更新

</strong>

</dt>

<dd>

<ul class="d1 ico3">

{dede:arclist row=10 titlelen=32 noflag='h' orderby='pubdate'}

<li><a href="[field:arcurl/]" title="[field:fulltitle/]">[field:title/]</a></li>

{/dede:arclist}

</ul>

</dd>

</dl>

{/dede:channelartlist} </div>

<!-- /listbox -->

</div>

<!-- /以下是随即文章的代码 -->

<div class="listbox"> {dede:channelartlist}

<dl class="tbox">

<dt>

<strong>

随机文章

</strong>

</dt>

<dd>

<ul class="d1 ico3">

{dede:arclist row=10 titlelen=32 noflag='h' orderby='rand'}

<li><a href="[field:arcurl/]" title="[field:fulltitle/]">[field:title/]</a></li>

{/dede:arclist}

</ul>

</dd>

</dl>

{/dede:channelartlist} </div>

<!-- /listbox -->

</div>

<!-- /以下是热门内容的代码 -->

<div class="pright">

<!-- /usercenter -->

<div class="commend mt1">

<dl class="tbox light">

<dt class='light'><strong>热门内容</strong></dt>

<dd class='light'>

<ul class="c1 ico2">

{dede:arclist flag='c' titlelen=42 row='10' orderby='hot'}

<li class='dotline'><a href="[field:arcurl/]" title="[field:fulltitle/]">[field:title/]</a></li>

{/dede:arclist}

</ul>

</dd>

</dl>

</div>

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: