我现在想封面模板里,循环每个栏目和内容时,也显示出栏目的简介。
代码从简来:
这个是我的标签模板,id是15,页面模板代码:
<a href="[!--the.classurl--]"><h3>[!--the.classname--]</h3></a>(这里要显示别名)</td> [!--empirenews.listtemp--] <li class='col-3-1 not-animated' data-animate='fadeInUp'><!--list.var1--></li> [!--empirenews.listtemp--]
内容代码: <img src="[!--titlepic--]" title="编号:[!--bianhao--]" />
问题就是,现在例如大栏目产品中心,是用封面模板的:[listsonclass]'selfinfo',6,25,0,0,15,0,0[/listsonclass]
[!--the.classname--]里是可以调用出每个栏目名称,但是不管动态还是静态,为何都搞不出别名[!--the.bname--]的内容。
现在(这里要显示别名)的位置需要显示出栏目的别名或者简介,有啥动态方法可以直接读取?
|