织梦文章如何实现全站栏目文章随机(推介/最新)调用? 50
高手请教。。在官方模板下修改<divclass="commendmt1"><dlclass="tboxlight"><dtclass='light'><strong>随机...
高手请教。。在官方模板下修改
<div class="commend mt1">
<dl class="tbox light">
<dt class='light'><strong>随机文章</strong></dt>
<dd class='light'>
<ul class="c1 ico2">
{dede:arclist row='1000' pagesize='10' titlelen='35' orderby='rand'}
<li class='dotline'><a href="[field:arcurl/]">[field:title/]</a></li>
{/dede:arclist}
</ul>
</dd>
</dl>
<!-- /commend -->
<div class="hot mt1">
<dl class="tbox light">
<dt class='light'><strong>热点内容</strong></dt>
<dd class='light'>
<ul class="c1 ico2">
{dede:arclist row=10 orderby=click}
<li><a href="[field:arcurl/]">[field:title/]</a></li>
{/dede:arclist}
</ul>
</dd>
</dl>
</div>
</div>
<div id="contentRtPicAD2" style="margin:10px auto">{dede:myad name='contentRtPicAD2'/}</div>
</div>
{dede:arclist row=10 titlelen=24orderby=pubdate}
<dt class='light'><strong>推荐内容</strong></dt>
<dd class='light'>
<ul class="d4">
{dede:arclist flag='c' titlelen=42 row=6}
<li><a href="[field:arcurl/]">[field:title/]</a>
<p>[field:description function='cn_substr(@me,80)'/]...</p>
</li>
{/dede:arclist} 展开
<div class="commend mt1">
<dl class="tbox light">
<dt class='light'><strong>随机文章</strong></dt>
<dd class='light'>
<ul class="c1 ico2">
{dede:arclist row='1000' pagesize='10' titlelen='35' orderby='rand'}
<li class='dotline'><a href="[field:arcurl/]">[field:title/]</a></li>
{/dede:arclist}
</ul>
</dd>
</dl>
<!-- /commend -->
<div class="hot mt1">
<dl class="tbox light">
<dt class='light'><strong>热点内容</strong></dt>
<dd class='light'>
<ul class="c1 ico2">
{dede:arclist row=10 orderby=click}
<li><a href="[field:arcurl/]">[field:title/]</a></li>
{/dede:arclist}
</ul>
</dd>
</dl>
</div>
</div>
<div id="contentRtPicAD2" style="margin:10px auto">{dede:myad name='contentRtPicAD2'/}</div>
</div>
{dede:arclist row=10 titlelen=24orderby=pubdate}
<dt class='light'><strong>推荐内容</strong></dt>
<dd class='light'>
<ul class="d4">
{dede:arclist flag='c' titlelen=42 row=6}
<li><a href="[field:arcurl/]">[field:title/]</a>
<p>[field:description function='cn_substr(@me,80)'/]...</p>
</li>
{/dede:arclist} 展开
展开全部
{dede:arclist row='6' pagesize='1000' titlelen='35' orderby='rand'}
<li><span>[field:pubdate function="MyDate('m/d',@me)"/]</span><a target="_blank" title="[field:fulltitle/]" href="[field:arcurl /]">[field:title/]</a></li>
{/dede:arclist}
随机调用
{dede:arclist typeid='top' titlelen='30' row='6'}
<li><span>[field:pubdate function="MyDate('m/d',@me)"/]</span><a target="_blank" title="[field:fulltitle/]" href="[field:arcurl /]">[field:title/]</a></li>
{/dede:arclist}
最新更新
<li><span>[field:pubdate function="MyDate('m/d',@me)"/]</span><a target="_blank" title="[field:fulltitle/]" href="[field:arcurl /]">[field:title/]</a></li>
{/dede:arclist}
随机调用
{dede:arclist typeid='top' titlelen='30' row='6'}
<li><span>[field:pubdate function="MyDate('m/d',@me)"/]</span><a target="_blank" title="[field:fulltitle/]" href="[field:arcurl /]">[field:title/]</a></li>
{/dede:arclist}
最新更新
追问
首先感谢您的回答。。。
那个随机调用没有现实全站栏目内容调用啊。。奇怪
最新更新还可以。。。
我还要想一个现实全站栏目内容调用全站热门与推价内容
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询