ViewHelper Documentation


ViewHelper for rendering a random content element in Fluid page templates


column integer

Name of the column to render

limit integer

Optional limit to the number of content elements to render

order string

Optional sort field of content elements - RAND() supported

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"

slide integer

Enables Content Sliding - amount of levels which shall get walked up the rootline. For infinite sliding (till the rootpage) set to -1)

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 content elements 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))

loadRegister anySimpleType

List of LOAD_REGISTER variable

render boolean

Optional returning variable as original table rows

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

ViewHelper Resources

Schema Resources