新闻动态

内容模块列表调用标签

日期:2014-12-29 21:28:37 人气:988

代码例子:

<BContent action="contentList" category_id="24" model_id="53" where="`status`='99' AND `title`!=''"  page="1" list_row="2" order="update_time DESC,id DESC" format_type="SIMPLE" cache_time="0">
    <volist name="data" id="vo">
        {$vo.title}<br/>
        {$vo.description}<br/>
   </volist>
</BContent>


内容推荐位列表(contentList):

可用参数:



参数名是否必须默认值
说明
category_id是0栏目ID
model_id否0模型ID
where否
status='99'筛选条件
page否1从第几页开始
list_row否20调用总量
order否update_time DESC,id DESC排序
format_type否SIMPLE返回格式
cache_time否3600缓存周期,0为不缓存