联系官方销售客服
1835022288
028-61286886
模板标签里面
如何调用顶级列表页文章所属栏目标签?
模板是index.html,category.html模板文件,这是测试过的标签,都不行,
{$t.name}{$mycat['dirname']}{$cat.name}{$t.name}{$t['dirname']} {$cat['dirname']}{dr_cat_value('kecheng', $catid, 'name')}{$c.name}
{module catid=$catid order=updatetime}
<div class="item_wrap item-{$key+1}"><div class="item item-normal"><div class="item-thumb"><a class="item-href" href="1212301510.html" target="_blank"><i class="thumb " style="background-image:url({dr_thumb($t.thumb)})"></i></a></div>
<div class="item-main"><h2><a href="{$t.url}" target="_blank">{$t.title}</a></h2><h4>
<!--会员-->
{php $user=dr_member_info($t['uid']);}
<span class="author">
<a href="xunlianying.html#publish" target="_blank">
<i class="thumb avatar" style="background-image:url({dr_avatar($t['uid'])})"></i>{$user.username}</a>
</span>
<span class="term"> <a href="photoshop.html" target="_blank">{$t.name}{$mycat['dirname']}{$cat.name}{$t.name}{$t['dirname']} {$cat['dirname']}{dr_cat_value('kecheng', $catid, 'name')}{$c.name}PS教程</a> <em class="views"> <i class="icon-see"></i> 3188 </em> </span></h4></div></div></div>
{/module}