Get collections list
Action collection_list return collection list (photo sets).
In comparaison to collection_single, collection_list displays several photosets/collections with or without attached images by category.
Filtering by category (RS featured theme) is possible, in this example RS themes define types of photosets such as Feature, Project and Series. Each of theses categories need to be defined during upload or by editing collection attributes (for example here: http://yourresourcesoace.net/pages/collection_manage.php).
Example
[[!xrs?
&action=`collection_list`
&cat=`project`
&sortby=`name`
&tpl=`xrsCollSingle1`
&tplImg=`xrsImg1`
&includeImg=`1`
]]
Snippet options
Option | Values | Default / Notes |
---|---|---|
action | collection_list | |
cat | Should match an RS theme | |
tpl |
debug xrsCollSingle1 custom chunk |
Outer template |
tplImg |
xrsImg1 xrsImg2 xrsImg3 xrsImg4 custom chunk |
Template for each image item |
sortby |
name created |
|
limit | For use with pdoPages |