No I can not use GetResourceField in this case.
I work with a search snippet. The Search Results have to be filtered what template the result has.
The Problem ist that the SearchSnippet dont work with the IF-Snippet or the Input/Output filters.
(statement from the programmer of the snippet)
So the solution is to write a snippet and locate it inside the chunk that show the results:
e.g the chunks look like this
<a [[snippet]] href="blabla.html">Blabla</a>
The snippet should do that:
Pseudo-Code:
If Template = 10 then
return 'class="pop"'