I must be misunderstanding you because as you've described it, that's what getResources does by default, without any help from an output modifier (assuming that you only have one getResources tag, which should be all you need).
Can you describe what you're seeing now and what you want to see instead?
In fact there was no problem at all, it was just the wrong way to do what i wanted to do.
I just had to hide the content of my popup in the getresource tpl and dsiplay it on click.
Sorry for the inconvenience.
[ed. note: hartus last edited this post 3 years, 2 months ago.]
I'm glad you got it sorted.