aspcms用mysql_关于ASPCMS标签调用的一些总结

菜单的应用

{aspcms:navlist}

{if:[navlist:subcount]>0}

[navlist:name]

{else}

[navlist:name]

{end if}

{if1:[navlist:sortid]<> 7}

{if2:[navlist:subcount]>0}

{aspcms:1navlist type=[navlist:sortid]}

[1navlist:name]

{/aspcms:1navlist}

{end if2}

{end if1}

{/aspcms:navlist}

当我们使用了TAG分类,Tag分类的调用

{aspcms:list size=12 order=order tag={aspcms:sorttitle} sort=3}

[list:title]

[list:title len=22]

{/aspcms:list}

如果抱错可惜参考 http://shenymce.blog.51cto.com/337979/1717696

小类及产品在一页显示

{aspcms:navlist type={aspcms:sortid}}

{aspcms:content sort=[navlist:sortid] num=2 order=order star=1}

[content:title len=22]

{/aspcms:content}

{if:[navlist:prototal]=0}

该栏目还没有产品

{end if}

{/aspcms:navlist}

关于prototal可以查看AspCms_MainClass.asp文件450到630之间的代码

新闻文章的操作

[news:info]

{aspcms:next}

{aspcms:prev}

{aspcms:comment}

[news:title]

原文链接:http://www.07net01.com/2016/01/1107316.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值