I've got a site where I'm listing all the children Resources of a specific Resource. Under the listings I have pagination working and then under the pagination I have the tags listed of all the Resources (not a problem so far).
So the code is like so:
[[!getPage@videoPaging?
&elementClass=`modSnippet`
&element=`getResources`
&showHidden=`1`
&tpl=`video.medium`
&limit=`12`
&includeContent=`1`
&includeTVs=`1`
&processTVs=`1`
&parents=`[[*id]]`
&hideContainers=`1`
&sortby=`publishedon`
&sortdir=`DESC`
&pageLimit=`5`
&pageNavVar=`page.nav`
]]
<div class="pagination">
<div class="pagination_numbers">
[[!+page.nav]]
</div><!-- . pagination_numbers -->
<span class="clear"> </span>
</div><!-- .pagination -->
<span class="clear"> </span>
<div class="tags smallest grid_padding bg_grad_gray_light_horz">
Tags: <ul>
[[!tagLister? &tv=`tags_en` &target=`[[*id]]` &parents=`[[*id]]` &limit=`1000`]]
</ul>
</div><!-- .tags -->
The challenge I'm facing is that when someone clicks on any given tag (say for example a tag that has a count of only 1), when the page reloads, all the Resources are still listed...no filtering occurs. In other words, the tag they choose (that only has 1) doesn't show by itself, but all the other Resources (there's like 200) all show up.
I've gone through the taglister docs (
http://rtfm.modx.com/display/ADDON/tagLister) and I guess I'm not setting that last part up correctly. Am I supposed to send the visitor to a new page and use "getResourcesTag" to list out the Resources that have that tag?