<factinclude id.v/>
factinclude can take the following parameters:
-
limit
limit="10"
With this parameter you can define how many search results to be displayed.
-
order
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.
-
my_facts
my_facts="userID"
Displays only facts created by the user with the specified id number.
-
sort
sort="desc" or sort="asc"
Possible values are "asc" for ascendigly and "desc" for descendingly ordered results. Please, use lowercase for that values.
-
itemtemplate
itemtemplate="id.v"
Between the quotation marks you should put the id.v of the text fact that should be used as a template for displaying of each row.
-
langid
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:
<factinclude 1107069.0 display="icon, title, infoid" foldersonly="1" levels="3" dontdisplaylines="1" />
In the example above will be shown the icon, title and infoid of folders, which the folder with id=1107069.0 contain. If the folders have subfolders they will be also shown up to the 3rd level and and the lines that connect the folders and subfolders won`t be shown.
|