一、首先定义好推荐位

image

二、调用示例

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号