I did recently do a tag page using getResources - here is the example (note, I used getPage as a wrapper for getResources so I could have paging on the results):
[[!requestToPlaceholders]]
[[!getPage?
&elementClass=`modSnippet`
&element=`getResources`
&parents=`3`
&limit=`10`
&pageVarKey=`page`
&sortby=`createdon`
&sortdir=`DESC`
&includeTVs=`1`
&includeContent=`1`
&tvFilters=`tags==%[[!+modx.request.tags]]%`
&tpl=`blogListing`
]]
<div class="paging">
<ul class="pageList">
[[!+page.nav]]
</ul>
</div>
In the above example,
tags is my TV that contains my tag selection (I used a multi-select list but I suspect it’ll work fine with comma-delimited list as well)
The
requestToPlaceholders is just a snippet I used to turn the $_GET parameters into placeholders so I could utilize a querystring parameter in the filtering, the contents of the snippet are:
<?php
$modx->toPlaceholders($_GET, 'modx.request');
return '';
?>