帝国cms教程栏目,提供精品建站,仿站,二次开发,安装,标签使用等图文教程,帮助建设和管理好你的帝国cms站点。
本文主要讲解帝国cms[!--no.num--]的作用和用法。
作用:
主要用来调用序列号,例如调用排行榜的数字序列号。
用法:
在万能标签中标签模板中调用[!--no.num--]。如图所示:
页面内容模板代码:
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="title">
<tr>
<td><strong>[!--the.classname--]</strong></td>
<td align="right"><a href="[!--the.classurl--]">更多>></a></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="box">
<tr>
<td><ul>
[!--empirenews.listtemp--]
<!--list.var1-->
[!--empirenews.listtemp--]
</ul>
</td>
</tr>
</table>
列表内容模板(list.var) (*)中代码:
<li>[!--no.num--]<a href="[!--titleurl--]" title="[!--oldtitle--]">[!--title--]</a> <span>[!--newstime--]</span></li>
推荐教程:帝国CMS教程
以上就是帝国CMS中 [!–-no.num–-]标签的作用和用法,更多相关内容请关注帝国模板之家。
转载请注明来源:帝国CMS中no.num标签的作用和用法
本文永久链接地址:https://www.moyouyouw.cn/code/630.html
郑重声明:本站所有主题/文章除标明原创外,均来自网络转载,版权归原作者所有,如果有侵犯到您的权益,请联系本站删除,谢谢!我们不承担任何技术及版权问题,且不对任何资源负法律责任。
售价: 399 76 ℃ 0 评论
售价: 399 95 ℃ 0 评论
售价: 399 62 ℃ 0 评论
已有 位小伙伴发表了看法
欢迎 你 发表评论