Search
:::info Source
This page is generated from site/views/search/tmpl/default.xml and the official FLEXIcontent 5.x language files.
:::
Basic
note
Please note these reasons for some results not being included: - you have not enabled short word search in component and word is < 4 characters - word is too common e.g. appears in about half of the articles - wrong language or article not publish or article has expired
Search Form
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Form placementform_placement | Set yes to display advanced search view with 2 columns, filter on right and result on left. | multilist | 0 = Top1 = Left2 = Right | 1 (Left) |
Column widthcolumn_width | set width of column for left and right position 10% | text | — | 20% |
Column gapcolumn_gap | set gapp between colum and results 2rem or 15px or 10% | text | — | 2rem |
Selector displayselectors_display_as | Display content types as | radio | select = Dropdown Selectcheckboxes = Checkboxes list | select (Dropdown Select) |
Content Types
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Show Labelshow_type_label | You may want to hide label or display label inside the content types search | radio | — = Use Global0 = Hide1 = Show | — |
**Searchable Types **(Select NONE for -ALL-)****contenttypes | The content types the search will include, selecting none will include ALL. NOTE: You can allow user to select Content Types. If you do then the selection list will be LIMITED to display ONLY the types specified here | types | — | — |
Allow user selectioncanseltypes | Allow users to select content types they want to include in their search | radio | 0 = No1 = Yes | 1 (Yes) |
Text Search
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Show Labelshow_search_label | You may want to hide label or display label inside the text search input to save space | radio | — = Use Global0 = Hide1 = Outside input2 = Inside input | — |
Word Combinationshow_searchphrase | Allow users to select method of combining the search words, e.g. phrase, phrase with guessing relevant, all, any, exact phrase | radio | — = Use Global0 = Hide1 = Show | — |
Default combinationdefault_searchphrase | Default (preselected) method of combining the search words | radio | — = Use Globalall = All wordsany = Any wordsexact = Exact phrasenatural = Phrasenatural_expanded = Phrase, more results | — |
Use auto-completesearch_autocomplete | Select to use multi-word tag-like auto-complete, or a simpler auto-complete method or disable auto-complete altogether | radio | — = Use Global0 = No1 = Simple2 = Tag-Like | — |
Word Min Lengthminchars | Minimum character length that search words are allowed to have | text | — | 3 |
Word Max Lengthmaxchars | Maximum characters length that search words are allowed to have | text | — | 200 |
Buttons
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Buttons positionbuttons_position | Buttons position desc | radio | 0 = Buttons position after search1 = Buttons position after advsearch | 0 (Buttons position after search) |
Buttons appendappend_buttons | Buttons append desc | radio | 0 = No1 = Yes | 0 (No) |
note
Go Button
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Go classflexi_button_class_go | Class for Go button, use value in selectlist or tip your custom class | multilist | — = Use Global-1 = - Custom -btn = Plainbtn btn-primary = Primarybtn btn-success = Successbtn btn-info = Infobtn btn-warning = Warningbtn btn-danger = Dangerbtn btn-inverse = Inverse | btn btn-warning (Warning) |
Custom classflexi_button_class_go_custom | Add custom class for go button, like uk-button uk-button-large for a warp 7 template | text | — | — |
note
Reset Button
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Reset Buttonshow_search_reset | Clear form reloading current listing, Note: Note that this will also clear field filters and alpha index (when any of these is present) | multilist | — = Use Global0 = Hide1 = Show | — |
Reset classflexi_button_class_reset | Class for Go button, use value in selectlist or tip your custom class | multilist | — = Use Global-1 = - Custom -btn = Plainbtn btn-primary = Primarybtn btn-success = Successbtn btn-info = Infobtn btn-warning = Warningbtn btn-danger = Dangerbtn btn-inverse = Inverse | — |
Custom classflexi_button_class_reset_custom | Add custom class for reset button, like uk-button uk-button-large for a warp 7 template | text | — | — |
Advanced Options
Category selector
note
NOTE: single or multiple value allowed, this depends on target view (set below)
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Show selectordisplay_cat_list | Show selector | multilist | 0 = No (Use single selected or current category)1 = Yes (Include selected categories)2 = Yes (Exclude selected categories) | 0 (No (Use single selected or current category)) |
Categoriescatids | Categories | flexicategories | — | — |
Include subcategoriesusesubcats | Include subcategories | radio | 0 = No1 = Yes | 0 (No) |
Default Option Text (e.g. All colours)search_firstoptiontext_s | Text of first option of the Drop-Down Select e.g. 'All colours' or All etc. NOTE: This option has no value NOTE: This text is language-filtered so you can enter a language replaceable string | text | — | FLEXI_ALL (All) |
note
NOTE: when advanced search options box is hidden, the options configured below will still be used
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Advanced search options boxautodisplayadvoptions | If this is disabled. Then a clickable text will appear to allow user to toggle the advanced search box on/off. | radio | 0 = Hide1 = Yes, initially closed2 = Yes, initially opened | 1 (Yes, initially closed) |
Text search usingtxtmode | Using the basic search index is faster and is recommended for LARGE SITES, (test to see evaluate performance difference) | multilist | 0 = Basic Index (faster, fields not selectable)1 = Advanced Index (use configured fields)2 = Advanced Index (use configured fields, allow user selection) | 0 (Basic Index (faster, fields not selectable)) |
PER content type configuration (ADVANCED Index)
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Text-Search Fieldsshow_txtfields | Enable this to use specific text searchable fields | multilist | 0 = Use all searchable1 = According to type2 = Configure below | 1 (According to type) |
**Fields **(Leave EMPTY for -ALL-)****txtflds | NOTE: only fields marked as advanced index text-searchable are listed | filters | — | — |
Fields as filtersshow_filters | Enable this to use specific fields as filters | multilist | 0 = Use all filterable1 = According to type2 = Configure below | 1 (According to type) |
**Fields **(Leave EMPTY for -ALL-)****filtflds | NOTE: only fields marked as advanced index filters are listed | filters | — | — |
Display filter in slidedisp_slide_filter | Display each fielter value in individual slide panel | multilist | 0 = No1 = Yes | 0 (No) |
Filter Badgebadge_position | Display your filter value like a badge, no display nothing, top display it before search form and bottom after submit button | radio | 0 = No1 = Top | 0 (No) |
Search Areas (non-FC Content)
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Use areasshow_searchareas | Allow the user to select and search other areas of the website content, e.g. like weblinks, user contacts, etc | multilist | 0 = Disable1 = Enable, show selector | 0 (Disable) |
Search Areassearchareas | The site's (non-FC content) search areas, that the search will include. NOTE: if user is allowed to select Search Areas, then the selection list will be LIMITED to display ONLY the search areas selected here | radio | — = All | — |
Show orderingshow_searchordering | Allow frontend users to select ordering of results of other areas of the website content. NOTE this is different ordering from the ordering used for main content results. | radio | 0 = No1 = Yes | 1 (Yes) |
Default valuedefault_searchordering | Default ordering for sorting the results of the search | radio | newest = Newest firstoldest = Oldest firstpopular = Most popularalpha = Alphabeticalcategory = Section/Category | newest (Newest first) |
Results List
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
# per pagelimit | Number of items per page | text | — | 10 |
Basic Information (used by non-FC results too)
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Show sectionshow_section | Display content section for each result, e.g. 'weblinks', 'contacts' etc, plus category tree of it. | radio | 0 = No1 = Yes | 1 (Yes) |
**Show context **(Always ON for non-FC results)****show_text | Display search words found along with content text around them. The search words found are highlighted | radio | 0 = No1 = Yes | 1 (Yes) |
**Context Limit ** (# of characters) ****text_chars | Number of characters of content text shown of around each found search word | text | — | 240 |
Show creation dateshow_date | Display for each result its creation date. By default the setting of the content type of each result is used (Content type -> Search view), choose Yes / No to override it for all types | radio | — = From content type0 = No1 = Yes | — |
Image
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Use imagefcr_use_image | Extract the first image from the text or use the above field | multilist | 0 = No1 = Yes | 0 (No) |
Image sourcefcr_image | By default the image field set in the content type of each result is used (Content type -> Search view). Select a field, or the main text, to override it for all types | fcimage | — | — |
Image positionfcr_position | The image position in the block. | radio | 0 = Left1 = Right | 0 (Left) |
Link imagefcr_link_image | Open the item when clicking on the image | radio | 0 = No1 = Yes | 1 (Yes) |
Intro image sizefcr_image_size | Size of the intro images | list | — = Use parameterss = Smallm = Mediuml = Large | — |
Image widthfcr_width | Image width | text | — | 180 |
Image heightfcr_height | Image height | text | — | 180 |
Processing methodfcr_method | Processing method | radio | 0 = Scale1 = Crop | 0 (Scale) |
Display Fields (Render their HTML)
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Display Extra Fieldsuse_infoflds | Display extra fields for each result. By default the fields set in the content type of each result are used (Content type -> Search view). Choose Yes to use the list below for all types, or No to display no extra fields | multilist | — = From content type0 = No1 = Yes | — |
Select Fieldinfo_fieldlist | Please select one by one fields to add to textarea below. | fields | — | — |
**Fields **(Leave EMPTY for -NONE-)****infoflds | Enter Fields (their fieldnames) to render their values and display them in the search results. You can separate each fieldname by comma(,). | textarea | — | — |
Items Ordering
Item Ordering (Level 1)
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Order by CORE field/propertiesorderby | Order items by CORE fields/properties | fcordering | — | — |
CUSTOM field ordering
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Enable *** overrides CORE order**orderbycustomfield | Enable this to order by the selected CUSTOM field. NOTE: This setting is ignored if you do not select a custom field | radio | — = Use Global0 = No1 = Yes | — |
Custom fieldorderbycustomfieldid | Select a custom field to use for ordering. Attention, some types of fields cannot be ordered (file and image fields for example). | fields | — | — |
Directionorderbycustomfielddir | Select to creating either an ascending (increasing) or a descending (decreasing) ordered list. | radio | — = Use GlobalASC = AscendingDESC = Descending | — |
Ordering Methodorderbycustomfieldint | Select to order alphanumerically (dictionary order) or numerically e.g. in alphanumerically '1000 my-title' is before '200 my-title' | radio | — = Use Global0 = Text1 = Integer2 = Float3 = Date | — |
Item Ordering (Level 2)
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Order by CORE field/propertiesorderby_2nd | Order items by CORE fields/properties | fcordering | — | — |
CUSTOM field ordering
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Enable *** overrides CORE order**orderbycustomfield_2nd | Enable this to order by the selected CUSTOM field. NOTE: This setting is ignored if you do not select a custom field | radio | — = Use Global0 = No1 = Yes | — |
Custom fieldorderbycustomfieldid_2nd | Select a custom field to use for ordering. Attention, some types of fields cannot be ordered (file and image fields for example). | fields | — | — |
Directionorderbycustomfielddir_2nd | Select to creating either an ascending (increasing) or a descending (decreasing) ordered list. | radio | — = Use GlobalASC = AscendingDESC = Descending | — |
Ordering Methodorderbycustomfieldint_2nd | Select to order alphanumerically (dictionary order) or numerically e.g. in alphanumerically '1000 my-title' is before '200 my-title' | radio | — = Use Global0 = Text1 = Integer2 = Float3 = Date | — |
Frontend Overrides
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
# per pagelimit_override | Number of items per page | radio | — = Use Global0 = Hide1 = Show | — |
Ordering selector (Level 1)orderby_override | Enable to display frontend ordering selector (Level 1) | radio | — = Use Global0 = Hide1 = Show | — |
Ordering selector (Level 2)orderby_override_2nd | Enable to display frontend ordering selector (Level 2) | radio | — = Use Global0 = Hide1 = Show | — |
Select Available Options
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
# per page allowed to frontend userlimit_options | Please enter a comma separated list of number, leave empty to use Global Defaults | text | — | — |
Order options (Level 1) allowed to frontend userorderby_options | Please select the ordering options you wish to allow. NOTE: (a) Preconfigured initial order, is order configured in categories configuration, (b)** Content 's ordering attribute** is for current category, since there is one such order for every category assigned to the item | fccheckbox | — | — |
Custom Order (Level 1) allowed to frontend userorderby_custom | Order options custom desc | textarea | — | — |
Order options (Level 2) allowed to frontend userorderby_options_2nd | Please select the ordering options you wish to allow. NOTE: (a) Preconfigured initial order, is order configured in categories configuration, (b)** Content 's ordering attribute** is for current category, since there is one such order for every category assigned to the item | fccheckbox | — | — |
Custom Order (Level 2) allowed to frontend userorderby_custom_2nd | Order options custom desc | textarea | — | — |
FC Advanced Search plugin: Override Configuration
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Search Limitsearch_limit | Limit maximum number of results the plugin can return, | text | — | — |
Language Filterfilter_lang | Return content having current language only | radio | — = Use Global0 = No1 = Yes | — |
Search archivedsearch_archived | Also include archive items into the search | radio | — = Use Global0 = No1 = Yes | — |
Browser Navigatorbrowsernav | Browser Navigator | radio | — = Use Global1 = Open New Window2 = Open Same Window | — |