Smart search filter

  Previous topic Next topic Print this topic Mail us feedback on this topic!

  Default  
  Web part control ID: Serves as an identifier for the web part. This ID must be unique within the context of each page template. The value of this property may only contain alphanumeric characters and the underscore character ( _ ).  
  Web part title: Title of the web part displayed on the Design tab of CMS Desk and in on-site editing mode. If empty, the value of the Web part control ID property is used for this purpose.  
   

  Visibility  
  Visible: Indicates if the web part should be displayed.  
  Hide on subpages: Indicates if the web part should be hidden on sub-pages. If checked, the web part will not be displayed on documents that inherit the web part from a parent document.  
  Show for document types: Contains a list of document types on which the web part should be displayed. If the currently selected document uses the page template containing this web part, but its type is not specified by this property, the web part will be hidden. The document types in the list must be specified by their code names and separated by semicolons (;). If empty, the web part will be displayed on all document types.  
  Display to roles: Contains a list of roles to which the web part should be displayed. This may be used to implement documents with specific functionality for different types of users. The roles in the list must be specified by their code names and separated by semicolons (;). If empty, the web part will be displayed to all users.  
   

  Filter properties  
  Search dialog webpart ID: Specifies the ID of the Smart search dialog or Smart search dialog with results web part to which the filter should be connected. The web part must be on the same page.  
  Filter mode: Sets the type of user interface elements that should be used to select the filtering options. Possible options are checkboxes, radio buttons, a drop-down list or a text box.  
  Filter auto postback: Indicates whether the search results should automatically be refreshed (via postback) whenever a filtering option is selected. Not applicable when using the text box Filter mode.  
  Values: Using this property, you can specify the possible filtering options that can be selected by users. The format used when entering the options depends on the type of the filter. For standard conditional filters, enter one option per line in format: <index field name>;<value of the field>;<displayed text>. The logical value of each filtering option must be specified. If the + symbol is added before the option, then only objects whose value in the given field matches the specified value will be included in the search. If the - symbol is added, only results that do not match the value will be returned.  
  Query name: Specifies the name of a query which can be used instead of the Values property to dynamically create the filter options. The query must return the appropriate values depending on the type of the filter. For example, for a standard conditional filter, three columns need to be loaded, which will then be used in the following order: <index field name>,<value of the field>,<displayed text>  
  Query WHERE condition: Sets the WHERE condition of the query used by the filter. In order to function, the query must contain the ##WHERE## macro, which will be replaced by the content of this field.  
  Query ORDER BY clause: Sets the ORDER BY clause of the query used by the filter. In order to function, the query must contain the ##ORDERBY## macro, which will be replaced by the content of this field.  
  Filter clause: Sets a clause that overrides the logical values specified for filtering options. Possible choices are: None - no clause is added and the original logical values set for individual filtering options are used. Must - indicates that the conditions in all filtering options must be fulfilled (adds the + symbol). Must not - indicates that the conditions in all filtering options must not be fulfilled (adds the - symbol). Conditions are inverted compared to the Must option.  
  Default selected index: Sets the index of the filtering option that should be selected by default; 0 selects the first option etc. If empty, no option will be selected by default. For the Checkbox Filter mode, you can specify multiple options separated by semicolons.  
  Filter is conditional: If true, the filter limits the range of objects that are searched (where condition). If false, the filter determines the order in which search results are displayed (order by condition).  
   

  Appearance  
  Repeat layout: Sets the layout used to render the checkbox or radio button filtering options. The possible choices are table or flow (no predefined structure).  
  Repeat direction: Determines if the filtering options should be arranged horizontally or vertically. Only applies to Checkbox and Radio button filter modes.  
  Repeat columns: Sets the number of columns into which the displayed checkbox or radio button filtering options will be divided.  
   

  Watermark  
  Watermark text: Only applied if the Filter mode is set to 'Text box'. The text entered here will be displayed in the textbox if it is empty. It automatically disappears when a user starts entering their own input. The watermark text is not a default search value, it only provides a way to make the textbox more noticeable or give users instructions.  
  Watermark CSS class: Specifies the name of the CSS class which will be applied to the watermark text.  
   

  Web part container  
  Web part container: Specifies the name of the container (box) to be displayed around the web part. Only containers defined in Site Manager -> Development -> Web part containers can be selected. The selected container can be edited directly by using the Edit button.  
  Container title: Sets a title for the container. This title is displayed only if the {%ContainerTitle%} macro is used in the code of the container.  
  Container CSS class: CSS class used for the container. Applied only if the {%ContainerCSSClass%} macro is used as the value of the Class attribute in the code of the container.  
  Container custom content: Custom content to be used in the container. Applied only if the {%ContainerCustomContent%} macro is used in the code of the container.  
  Hide container on subpages: Indicates if the web part container should be hidden on sub-pages.  
   

  HTML Envelope  
  Content before: HTML content placed before the web part. Can be used to display a header or add some encapsulating code, such as <div> or <table> elements to achieve the required layout.  
  Content after: HTML content placed after the web part. Can be used to display a footer or close the tags contained in the ContentBefore value, such as </div> or </table> elements.  
   

  AJAX  
  Use update panel: Indicates if an AJAX UpdatePanel container should be used for this web part.  
   

  Time zones  
  Time zone: Specifies the type of time zone used for the content of the web part.  
  Custom time zone: May be used to assign a custom time zone specifically for the content of this web part. If selected, the time zone will be used regardless of current user or website time zone settings.  
   

  Performance  
  Disable view state: Indicates if view state should be disabled for this web part.  
  Disable macros: If checked, macros contained in the values of the web part's properties will no longer be resolved.  
   

  Output filter  
  Filter output HTML of web part: If checked, the output code of this web part is processed by the output filters  
  Resolve URLs: If checked, the filter removes the "~" character in relative URLs and replace it with the root URL of the website.  
  Fix attributes: If checked, the filter ensures that all HTML tag attributes are in valid XHTML format.  
  Fix Javascript: If checked, the filter ensures that the type and language attributes are included in all <script> tags.  
  Fix lower case: If checked, the filter ensures that all HTML tags and attributes are generated in lower case.  
  Fix self closing tags: If checked, the filter ensures that HTML tags without end tags are properly closed.  
  Fix tags: If checked, the filter replaces tags that are not XHTML valid with appropriate equivalents (<strong> instead of <b>, <em> instead of <i>).  
  Fix HTML5: If checked, the filter replaces attributes that are obsolete in HTML5 with CSS classes named in format <attribute name>_<attribute value>. The affected attributes are: cellpadding, cellspacing, width, height, border, align, valign  
  Convert TABLE tags to DIV tags: If enabled, the TABLE tags in the output are automatically converted to DIV tags with CSS class corresponding to the tag name (table, tr, td, etc.) Blocks of HTML code can be optionally marked with class="_divs" or class="_nodivs" to allow or disable conversion for that particular block of code.  
   

Help URL: http://devnet.kentico.com/docs/webparts/index.html?SearchFilter_properties.htm