description($contentid,$modelid)

如果指定内容摘要存在的话,通过此函数获取

参数$contentid:指定内容ID,此参数必选

参数$modelid:模型ID,此参数可选

例:

<!--{content modelid="1" size="2" orderby="weight desc"}-->

<li>{description($r[contentid])}</li>

<!--{/content}-->

按照权重倒序输出两条文章标题。



Copyright ©2009 - 2012 CmsTop.Com.All rights reserved.
思拓合众