基础写法
{module module=news order=updatetime}
{/module}常用写法
| 说明 | 标签 | 由小到大 |
|---|---|---|
| 更新时间 | updatetime | updatetime_asc |
| 录入时间 | inputtime | inputtime_asc |
| 点击数 | hits | hits_asc |
| 排序值 | displayorder | displayorder_asc |
| 随机调用 | rand | rand_asc |
参数默认是由大到小排序。
详解迅睿XunRuiCMS排序参数order的5种用法及正序写法
{module module=news order=updatetime}
{/module}| 说明 | 标签 | 由小到大 |
|---|---|---|
| 更新时间 | updatetime | updatetime_asc |
| 录入时间 | inputtime | inputtime_asc |
| 点击数 | hits | hits_asc |
| 排序值 | displayorder | displayorder_asc |
| 随机调用 | rand | rand_asc |
参数默认是由大到小排序。