xRS MODX extra

xRS Collection Single - Show a single photoset/collection

Logo ResourceSpace Logo Wordpress Logo Prestashop Logo Joomla

Display a single collection

Action 'collection_single' allow to display a collection list possibly filtered by category (RS theme) and a specific collection and images.

Exemple

Action collection_single return a RS specific collection by ID with its images (a photo set).

[[!xrs?
    &action=`collection_single`
    &id=`26`
    &tpl=`xrsCollSingle1`
    &tplImg=`xrsImg1`
    &pOptions=`w=100&h=90`
]]

Snippet options

Option Values Default / Notes
action collection_single
id id Mandatory collection ID
tpl debug
xrsCollSingle1
custom chunk
Outer template
tplImg xrsImg1
xrsImg2
xrsImg3
xrsImg4
custom chunk
Template for each image item
includeImg number
none
Items limit (default: 50)
sortby name
created
hideControls 0|1 Hide/show slideshow controls buttons.
Default: 0.
controlLabels 0|1 Hide/show slideshow control text labels.
Default: 0.

option
Option available with xRS Plus only.

(1) xRS Plus only.

Demos

xRS collection_single (debug mode)

xRS collection_single