YulinCMS SearchForm标签说明

来自站长百科
Spider.flynn讨论 | 贡献2010年6月6日 (日) 20:09的版本 (新页面: <span style="text-align:center; border:1px solid #000; float:right; padding:6px;"><strong>导航:</strong> 上一页</span> <div style="clear:both;"></div> ==功能说明== ...)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航、​ 搜索

导航: 上一页

功能说明

用于调用搜索表单

适用范围

所有

语法格式

{Yu:SearchForm 属性="属性值" ......}
      // 底层模板 + 底层变量
{/Yu:SearchForm}

标签属性

  • SearchFieldType 搜索字段控件的样式

属性值可以是如下

  1. RadioButtonList 单选按钮列表。
  2. 'CheckBoxList 复选框列表。
  3. 'DropDownList 下拉列表框。

不指定该属性,则默认单选按钮列表。

  • SearchResultSortType 搜索结果排序规则控件的样式

属性值可以是如下

  1. 'RadioButtonList 单选按钮列表。
  2. 'DropDownList 下拉列表框。

不指定该属性,则默认单选按钮列表。

  • SearchResultOrderType 搜索结果排序方式控件的样式

属性值可以是如下

  1. 'RadioButtonList 单选按钮列表。
  2. 'DropDownList 下拉列表框。

不指定该属性,则默认单选按钮列表。

  • SearchResultNumType 搜索结果每页显示数量控件的样式

属性值可以是如下

  1. 'RadioButtonList 单选按钮列表。
  2. 'DropDownList 下拉列表框。

不指定该属性,则默认下拉列表框。

  • NormalTemplateName 底层模板名称

底层变量

  • {@SubmitPath/} 提交路径
  • {@SearchKeywordVar/} 搜索关键字参数名
  • {@SearchStartDateVar/} 搜索开始日期参数名
  • {@SearchEndDateVar/} 搜索结束日期参数名
  • {@SearchField/} 搜索字段
  • {@SearchCate/} 搜索栏目
  • {@SearchResultSort/} 搜索结果排序规则
  • {@SearchResultOrder/} 搜索结果排序方式
  • {@SearchResultNum/} 搜索结果每页显示数量

相关条目

参考来源