ViewHelper Documentation
v:render.record
ViewHelper used to render raw content records typically fetched
with <v:content.get(column: '0', render: FALSE) />
.
If you simply want to render a content element, try <v:content.render>
.
Arguments
- column
- order
- sortDirection
- pageUid
- contentUids
- sectionIndexOnly
- loadRegister
- render
- hideUntranslated
- limit
- slide
- slideCollect
- slideCollectReverse
- record
column integer
Column position number (colPos) of the column to render
order string
Optional sort field of content elements - RAND() supported. Note that when sliding is enabled, the sorting will be applied to records on a per-page basis and not to the total set of collected records.
sortDirection string
Optional sort direction of content elements
pageUid integer
If set, selects only content from this page UID
contentUids anySimpleType
If used, replaces all conditions with an "uid IN (1,2,3)" style condition using the UID values from this array
sectionIndexOnly boolean
If TRUE, only renders/gets content that is marked as "include in section index"
loadRegister anySimpleType
List of LOAD_REGISTER variable
render boolean
Render result
hideUntranslated boolean
If FALSE, will NOT include elements which have NOT been translated, if current language is NOT the default language. Default is to show untranslated elements but never display the original if there is a translated version
limit integer
Optional limit to the total number of records to render
slide integer
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 integer
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 boolean
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))
record anySimpleType
Record to render