page.resources.fal ViewHelper <vhs:page.resources.fal>
¶
Page FAL resource ViewHelper.
Do not use the "uid" argument in the "Preview" section. Instead, use the "record" argument and pass the entire record. This bypasses visibility restrictions that normally apply when you attempt to load a record by UID through TYPO3's PageRepository, which is what the resource ViewHelpers do if you only pass uid.
Arguments¶
table¶
- DataType
string
- Default
'pages'
- Required
false
- Description
The table to lookup records.
field¶
- DataType
string
- Default
'media'
- Required
false
- Description
The field of the table associated to resources.
record¶
- DataType
mixed
- Required
false
- Description
The actual record. Alternatively you can use the "uid" argument.
uid¶
- DataType
integer
- Required
false
- Description
The uid of the record. Alternatively you can use the "record" argument.
as¶
- DataType
string
- Required
false
- Description
If specified, a template variable with this name containing the requested data will be inserted instead of returning it.
asObjects¶
- DataType
boolean
- Required
false
- Description
Can be set to TRUE to return objects instead of file information arrays.
limit¶
- DataType
integer
- Required
false
- Description
Optional limit to the total number of records to render
slide¶
- DataType
integer
- Required
false
- Description
Enables Record Sliding - amount of levels which shall get walked up the rootline, including the current page. For infinite sliding (till the rootpage) set to -1. Only the first PID which has at minimum one record is used.
slideCollect¶
- DataType
integer
- Required
false
- Description
If TRUE, content is collected up the root line. If FALSE, only the first PID which has content is used. If greater than zero, this value overrides $slide.
slideCollectReverse¶
- DataType
boolean
- Required
false
- Description
Normally when collecting records the elements from the actual page get shown on the top and those from the parent pages below those. You can invert this behaviour (actual page elements at bottom) by setting this flag.