Skip to main content

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​

OptionDescriptionTypeValuesDefault
Form placement
form_placement
Set yes to display advanced search view with 2 columns, filter on right and result on left.multilist0 = Top
1 = Left
2 = Right
1 (Left)
Column width
column_width
set width of column for left and right position 10%text—20%
Column gap
column_gap
set gapp between colum and results 2rem or 15px or 10%text—2rem
Selector display
selectors_display_as
Display content types asradioselect = Dropdown Select
checkboxes = Checkboxes list
select (Dropdown Select)

Content Types​

OptionDescriptionTypeValuesDefault
Show Label
show_type_label
You may want to hide label or display label inside the content types searchradio— = Use Global
0 = Hide
1 = 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 heretypes——
Allow user selection
canseltypes
Allow users to select content types they want to include in their searchradio0 = No
1 = Yes
1 (Yes)
OptionDescriptionTypeValuesDefault
Show Label
show_search_label
You may want to hide label or display label inside the text search input to save spaceradio— = Use Global
0 = Hide
1 = Outside input
2 = Inside input
—
Word Combination
show_searchphrase
Allow users to select method of combining the search words, e.g. phrase, phrase with guessing relevant, all, any, exact phraseradio— = Use Global
0 = Hide
1 = Show
—
Default combination
default_searchphrase
Default (preselected) method of combining the search wordsradio— = Use Global
all = All words
any = Any words
exact = Exact phrase
natural = Phrase
natural_expanded = Phrase, more results
—
Use auto-complete
search_autocomplete
Select to use multi-word tag-like auto-complete, or a simpler auto-complete method or disable auto-complete altogetherradio— = Use Global
0 = No
1 = Simple
2 = Tag-Like
—
Word Min Length
minchars
Minimum character length that search words are allowed to havetext—3
Word Max Length
maxchars
Maximum characters length that search words are allowed to havetext—200

Buttons​

OptionDescriptionTypeValuesDefault
Buttons position
buttons_position
Buttons position descradio0 = Buttons position after search
1 = Buttons position after advsearch
0 (Buttons position after search)
Buttons append
append_buttons
Buttons append descradio0 = No
1 = Yes
0 (No)
note

Go Button

OptionDescriptionTypeValuesDefault
Go class
flexi_button_class_go
Class for Go button, use value in selectlist or tip your custom classmultilist— = Use Global
-1 = - Custom -
btn = Plain
btn btn-primary = Primary
btn btn-success = Success
btn btn-info = Info
btn btn-warning = Warning
btn btn-danger = Danger
btn btn-inverse = Inverse
btn btn-warning (Warning)
Custom class
flexi_button_class_go_custom
Add custom class for go button, like uk-button uk-button-large for a warp 7 templatetext——
note

Reset Button

OptionDescriptionTypeValuesDefault
Reset Button
show_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 Global
0 = Hide
1 = Show
—
Reset class
flexi_button_class_reset
Class for Go button, use value in selectlist or tip your custom classmultilist— = Use Global
-1 = - Custom -
btn = Plain
btn btn-primary = Primary
btn btn-success = Success
btn btn-info = Info
btn btn-warning = Warning
btn btn-danger = Danger
btn btn-inverse = Inverse
—
Custom class
flexi_button_class_reset_custom
Add custom class for reset button, like uk-button uk-button-large for a warp 7 templatetext——

Advanced Options​

Category selector​

note

NOTE: single or multiple value allowed, this depends on target view (set below)

OptionDescriptionTypeValuesDefault
Show selector
display_cat_list
Show selectormultilist0 = 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))
Categories
catids
Categoriesflexicategories——
Include subcategories
usesubcats
Include subcategoriesradio0 = No
1 = 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 stringtext—FLEXI_ALL (All)
note

NOTE: when advanced search options box is hidden, the options configured below will still be used

OptionDescriptionTypeValuesDefault
Advanced search options box
autodisplayadvoptions
If this is disabled. Then a clickable text will appear to allow user to toggle the advanced search box on/off.radio0 = Hide
1 = Yes, initially closed
2 = Yes, initially opened
1 (Yes, initially closed)
Text search using
txtmode
Using the basic search index is faster and is recommended for LARGE SITES, (test to see evaluate performance difference)multilist0 = 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)​

OptionDescriptionTypeValuesDefault
Text-Search Fields
show_txtfields
Enable this to use specific text searchable fieldsmultilist0 = Use all searchable
1 = According to type
2 = Configure below
1 (According to type)
**Fields **(Leave EMPTY for -ALL-)****
txtflds
NOTE: only fields marked as advanced index text-searchable are listedfilters——
Fields as filters
show_filters
Enable this to use specific fields as filtersmultilist0 = Use all filterable
1 = According to type
2 = Configure below
1 (According to type)
**Fields **(Leave EMPTY for -ALL-)****
filtflds
NOTE: only fields marked as advanced index filters are listedfilters——
Display filter in slide
disp_slide_filter
Display each fielter value in individual slide panelmultilist0 = No
1 = Yes
0 (No)
Filter Badge
badge_position
Display your filter value like a badge, no display nothing, top display it before search form and bottom after submit buttonradio0 = No
1 = Top
0 (No)

Search Areas (non-FC Content)​

OptionDescriptionTypeValuesDefault
Use areas
show_searchareas
Allow the user to select and search other areas of the website content, e.g. like weblinks, user contacts, etcmultilist0 = Disable
1 = Enable, show selector
0 (Disable)
Search Areas
searchareas
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 hereradio— = All—
Show ordering
show_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.radio0 = No
1 = Yes
1 (Yes)
Default value
default_searchordering
Default ordering for sorting the results of the searchradionewest = Newest first
oldest = Oldest first
popular = Most popular
alpha = Alphabetical
category = Section/Category
newest (Newest first)

Results List​

OptionDescriptionTypeValuesDefault
# per page
limit
Number of items per pagetext—10

Basic Information (used by non-FC results too)​

OptionDescriptionTypeValuesDefault
Show section
show_section
Display content section for each result, e.g. 'weblinks', 'contacts' etc, plus category tree of it.radio0 = No
1 = 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 highlightedradio0 = No
1 = Yes
1 (Yes)
**Context Limit ** (# of characters) ****
text_chars
Number of characters of content text shown of around each found search wordtext—240
Show creation date
show_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 typesradio— = From content type
0 = No
1 = Yes
—

Image​

OptionDescriptionTypeValuesDefault
Use image
fcr_use_image
Extract the first image from the text or use the above fieldmultilist0 = No
1 = Yes
0 (No)
Image source
fcr_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 typesfcimage——
Image position
fcr_position
The image position in the block.radio0 = Left
1 = Right
0 (Left)
Link image
fcr_link_image
Open the item when clicking on the imageradio0 = No
1 = Yes
1 (Yes)
Intro image size
fcr_image_size
Size of the intro imageslist— = Use parameters
s = Small
m = Medium
l = Large
—
Image width
fcr_width
Image widthtext—180
Image height
fcr_height
Image heighttext—180
Processing method
fcr_method
Processing methodradio0 = Scale
1 = Crop
0 (Scale)

Display Fields (Render their HTML)​

OptionDescriptionTypeValuesDefault
Display Extra Fields
use_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 fieldsmultilist— = From content type
0 = No
1 = Yes
—
Select Field
info_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)​

OptionDescriptionTypeValuesDefault
Order by CORE field/properties
orderby
Order items by CORE fields/propertiesfcordering——

CUSTOM field ordering​

OptionDescriptionTypeValuesDefault
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 fieldradio— = Use Global
0 = No
1 = Yes
—
Custom field
orderbycustomfieldid
Select a custom field to use for ordering. Attention, some types of fields cannot be ordered (file and image fields for example).fields——
Direction
orderbycustomfielddir
Select to creating either an ascending (increasing) or a descending (decreasing) ordered list.radio— = Use Global
ASC = Ascending
DESC = Descending
—
Ordering Method
orderbycustomfieldint
Select to order alphanumerically (dictionary order) or numerically e.g. in alphanumerically '1000 my-title' is before '200 my-title'radio— = Use Global
0 = Text
1 = Integer
2 = Float
3 = Date
—

Item Ordering (Level 2)​

OptionDescriptionTypeValuesDefault
Order by CORE field/properties
orderby_2nd
Order items by CORE fields/propertiesfcordering——

CUSTOM field ordering​

OptionDescriptionTypeValuesDefault
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 fieldradio— = Use Global
0 = No
1 = Yes
—
Custom field
orderbycustomfieldid_2nd
Select a custom field to use for ordering. Attention, some types of fields cannot be ordered (file and image fields for example).fields——
Direction
orderbycustomfielddir_2nd
Select to creating either an ascending (increasing) or a descending (decreasing) ordered list.radio— = Use Global
ASC = Ascending
DESC = Descending
—
Ordering Method
orderbycustomfieldint_2nd
Select to order alphanumerically (dictionary order) or numerically e.g. in alphanumerically '1000 my-title' is before '200 my-title'radio— = Use Global
0 = Text
1 = Integer
2 = Float
3 = Date
—

Frontend Overrides​

OptionDescriptionTypeValuesDefault
# per page
limit_override
Number of items per pageradio— = Use Global
0 = Hide
1 = Show
—
Ordering selector (Level 1)
orderby_override
Enable to display frontend ordering selector (Level 1)radio— = Use Global
0 = Hide
1 = Show
—
Ordering selector (Level 2)
orderby_override_2nd
Enable to display frontend ordering selector (Level 2)radio— = Use Global
0 = Hide
1 = Show
—

Select Available Options​

OptionDescriptionTypeValuesDefault
# per page allowed to frontend user
limit_options
Please enter a comma separated list of number, leave empty to use Global Defaultstext——
Order options (Level 1) allowed to frontend user
orderby_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 itemfccheckbox——
Custom Order (Level 1) allowed to frontend user
orderby_custom
Order options custom desctextarea——
Order options (Level 2) allowed to frontend user
orderby_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 itemfccheckbox——
Custom Order (Level 2) allowed to frontend user
orderby_custom_2nd
Order options custom desctextarea——

FC Advanced Search plugin: Override Configuration​

OptionDescriptionTypeValuesDefault
Search Limit
search_limit
Limit maximum number of results the plugin can return,text——
Language Filter
filter_lang
Return content having current language onlyradio— = Use Global
0 = No
1 = Yes
—
Search archived
search_archived
Also include archive items into the searchradio— = Use Global
0 = No
1 = Yes
—
Browser Navigator
browsernav
Browser Navigatorradio— = Use Global
1 = Open New Window
2 = Open Same Window
—