一、首先定义好推荐位
二、调用示例
http://help.xunruicms.com/15.html
1、前端页面调用模块【news】的【id是1的】推荐位中的文章内容
{module module=news flag=1} {$t.title} {$t.url} {/module} 其中 news是模块目录,1是推荐位id号
2、前端页面调用模块【news】的【排除推荐位id是1的】的文章内容
{module module=news not_flag=1} {$t.title} {$t.url} {/module} 其中 news是模块目录,1是排除不显示的推荐位id号
3、前端页面调用模块【news】的【id是1和2的】推荐位中的文章内容
{module module=news flag=1,2} {$t.title} {$t.url} {/module} 其中 news是模块目录,1和2是推荐位id号
上一篇:在循环标签中使用自定义SQL条件where
下一篇:统计量查询标签
目前为止共有 102911 位优秀的站长加入!
工作日:9:00 - 22:00 节假日:9:00 - 18:00
扫一扫添加客服微信