This snippet displays the results from a tag link generated by the tagLister snippet.
Simply place the snippet wherever you would like to display tag-driven Resource lists.
See the Examples section below.
|tagKey||The TV to filter by.||tags|
|tagRequestParam||The REQUEST parameter to use for the tag filter.||tag|
|grSnippet||The snippet to wrap with getResourcesTag. Recommended to leave at getPage.||getPage|
Remember: all properties from getResources are fair game as arguments to getResourcesTag, but in practical usage, you'll probably focus on the following:
|tpl||Name of a chunk serving as a resource template. If not provided, properties are dumped to output for each resource|
|tplOdd||Name of a chunk serving as resource template for resources with an odd idx value (see idx property)|
|tplFirst||Name of a chunk serving as resource template for the first resource|
|tplLast||Name of a chunk serving as resource template for the last resource|
|sortby||Any Resource Field (excluding Template Variables) to sort by. Some common fields to sort on are publishedon, menuindex, pagetitle etc, but see the Resources documentation for all fields. Specify fields with the name only, not using the tag syntax.|
Display Resources with tag 'test' (found in the GET param 'tag') in the TV 'blog-tags', and set the results to a placeholder called 'results':
Where tag_result is a Chunk containing the following: