dede cms织梦使用dede:arclist标签的时候,如何可以让typeid=“变量”,而不是写死的?
代码如下,我想让typeid='6'写成typeid='变量',但是我试过typeid='{dede:field.typeid/}'不行,请问要怎么写?{dede:arc...
代码如下,我想让typeid='6'写成typeid='变量',但是我试过typeid='{dede:field.typeid/}'不行,请问要怎么写?
{dede:arclist row=8 typeid='6'}
<a href="[field:arcurl/]" class="othernews clearfix">
<img src="[field:picname/]" alt="[field:title/]" class="newsimg">
<p class="title">[field:title/]</p>
<p class="date">[[field:pubdate function="MyDate('Y-m-d',@me)"/]]</p>
</a>
{/dede:arclist} 展开
{dede:arclist row=8 typeid='6'}
<a href="[field:arcurl/]" class="othernews clearfix">
<img src="[field:picname/]" alt="[field:title/]" class="newsimg">
<p class="title">[field:title/]</p>
<p class="date">[[field:pubdate function="MyDate('Y-m-d',@me)"/]]</p>
</a>
{/dede:arclist} 展开
1个回答
展开全部
##织梦嵌套标签channelartlist
{dede:channelartlist typeid='6,8,9,10'}
{dede:arclist row=8 }
<a href="[field:arcurl/]" class="othernews clearfix">
<img src="[field:picname/]" alt="[field:title/]" class="newsimg">
<p class="title">[field:title/]</p>
<p class="date">[[field:pubdate function="MyDate('Y-m-d',@me)"/]]</p>
</a>
{/dede:arclist}
{/dede:channelartlist}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询