discuss.answer
Thanks Bruno, perfect.
Does &exclude generally work across all snippets?
On a similar note. I have an option TV that if it is set to 'no' I'd like to exclude those pages. Is it a matter of creating another snippet that pulls the ID of resources with the TV set as 'no' and then load that delimited list into the &exclude call above?
with MIGX installed, untested, out of my head, replace xx with the id of your TV:
[[migxLoopCollection?
&classname=`modRemplateVarResource`
&where=`{"value":"no","tmplvarid":"xx"}`
&tpl=`@CODE:[[+contentid]]`
&outputSeparator=`,`
&toPlaceholder=`excludelist`
]]
[[siblingNav?
&exclude=`[[+excludelist]]`
....
]]
Wow. Thanks Bruno.
I bow to your knowledge.