<factinclude factlist/>
factinclude factlist can take the following parameters:
(1)
(2) Optiopns for filtering the list of facts:
-
keyword="word1, word2"
In this parameter you can define by which words the search will be performed.
-
doctype="value"
System document type name.
Possible valies:
- factdoc
- factfsfile
- discussionentry
-
filterbyfolder="452701"
With this parameter you can filter by a specific folder with infoID "452701.1".
Please, note: Use only the id of a folder - only the first part of the ID, without dot and version.
-
tagselectsearch="value1, value2, value3, ..."
This parameter allows you to set standard tag title search. The listed values are names of tags.
For example:
tagselectsearch="Cats, Dogs, Animals with a tail"
Searches for three tags and filters by them facts that have the specified tags.
-
searchin="value"
Sets in which fields the specified words will be searched.
Possible values:
- allfields
- titlefield
- authorfield
-
fromdate="2010-01-01"
With this parameter you can set to search facts that were published from the specified date till now.
Please, note: The date format is ''yyyy-mm-dd".
-
todate="2010-02-01"
With this parameter you can set what is the max date of publishing of the searched facts.
Please, note: The date format is ''yyyy-mm-dd".
-
pubonly="value"
With this parameter you can set which type of facts should be displayed according to the publishing state.
Possible values:
- pubonly - published facts only
- unpubonly - unpublished facts only
- hidden - hidden facts
-
my_facts="userID"
Displays only facts created by the user with the specified id number.
-
order="value"
The order how the list of facts will be displayed. Possible values are all sorting headers available in the Factlist and Search:
- published
- publisher
- title
- infoid
Please note: The order depends on the doctype specification.
-
sort="desc" or sort="asc"
Possible values are "asc" for ascendigly and "desc" for descendingly ordered results. Please, use lowercase for that values.
-
limit="10"
With this parameter you can define how many search results to be displayed.
-
offset="0"
You can define the offset between the displayed results.
-
langid="0"
Filters the search results by the language defined in the meta information of the fact.
Possible values:
- "0" - English
- "1" - German
For example:
|