getResourceLevel

[[[[getResourceLevel:eq=`1`:then=`$topLevelElement`:else=`$innerElement`]]]]
MODX

Shows the level based on the number of parent IDs.

Contains the following patterns
Included in the following patterns

getChildCount

[[getChildCount?
    &parent=`[[+id]]`
]]
MODX

Returns the amount of child pages a resource has.

Contains the following patterns
Included in the following patterns
[[getCrosslinks?
    $tvName=`contributors_id`
    $page=`[[*id]]`
]]
MODX

Returns the ID's of all resources that link to a given resource through a TV.

Contains the following patterns
Included in the following patterns

resourceTVInputOptions

{{EXAMPLE SNIPPET CALL}}
MODX

Generates input option values that can be used in TVs, for creating resource selectors.

Contains the following patterns
getResources
Included in the following patterns

resourceMediaPath

{{EXAMPLE SNIPPET CALL}}
MODX

Standalone version of a MIGX snippet that can generate subfolders in media sources.

Contains the following patterns
Included in the following patterns
migxObjectMediaPath
migxResourceMediaPath
F resourceMediaPath