|
|
Next topic
Search Result
This component is available in Site Studio Pro.
This component renders the result of a search. The search is initiated by the Search component. The search result can be renderend in a variety of ways. The component should be looked upon as a list with a header and a footer. The header and the footer can be customized to display differenct facts about the search result.

The Search Result Component
Properties
Note! All text properties with type String for this component use the following keyword replacement table. This means that a string containing "#hits" it will have it replaced with the number of hits for the current search. Example "Number of: #hits." would become "Number of hits: 3." if the number of documents that the search resulted in was three.
| Keyword |
Replaced by |
| #searchword |
The text searched for. |
| #hits |
The number of documents that the search resulted in. |
| #docs |
The total number of documents searched. |
| #start |
The order number of the first document displayed in the search result. |
| #end |
The order number of the last document displayed in the search result. |
|
Name |
Type |
Description |
| Title Style |
Style |
Style used for the titles. The titles will also be linked to the actual page. |
| Description Style |
Style |
Style used for the descriptions. |
| Date Format |
Enum |
Format used to display the date. To change the format, open the info tab of the project properties dialog. If "No Date" is selected, no date is displayed for the search results. Possible values:
- No Date
- Long Date
- Short Date
|
| Date Style |
Style |
Style used for the dates. |
| Spacing between items |
Integer |
Spacing in pixels between search result items. |
| Number of hits per page |
Integer |
The number of hits displayed per page. |
| No Hits Text |
String |
Text displayed when the search results in no hits. |
| Next Text |
String |
Text used for the next page function. |
| Previous Text |
String |
Text used for the previous page function |
| Header Type |
Enum |
Determines how to render the Heading for the search result. The values between the commas should be interpreted like this: Left,Center,Right. Possible settings:
- None
- Text,-,-
- -,Text,-
- -,-,Text
- Navigation,-,-
- -,Navigation,-
- -,-,Navigation
- Text,-,Navigation
- Navigation,-,Text
|
| Header Text |
String |
Text used in the header. |
| Header Style |
Style |
Style used for the header. |
| Footer Type |
Enum |
Determines how to render the Footer for the search result. The values between the commas should be interpreted like this: Left,Center,Right. Possible settings:
- None
- Text,-,-
- -,Text,-
- -,-,Text
- Navigation,-,-
- -,Navigation,-
- -,-,Navigation
- Text,-,Navigation
- Navigation,-,Text
|
| Footer Text |
String |
Text used in the footer. |
| Footer Style |
Style |
Style used for the footer. |
©2003-2006 Effective Studios. All Rights Reserved. Legal Notice.
|