content.resources ViewHelper <vhs:content.resources>
¶
Resources ViewHelper
Loads FAL records associated with records of arbitrary types.
Arguments¶
table¶
- DataType
string
- Default
'tt_content'
- Required
false
- Description
The table to lookup records.
field¶
- DataType
string
- Default
'image'
- 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.