Edit: thanks to BobRay, here is what I found on different thread (in my defense - it is difficult to search these forums):
<?php
/* InGroup snippet */
$output = "";
if ($modx->user->isMember('groupA')) {
$output = $modx->getChunk('chunk1');
} else if ($modx->user->isMember('GroupB')) {
$output = $modx->getChunk('chunk2');
} else {
$output = $modx->getChunk('chunk3');
}
return $output;
So I created that snippet and called it with
and it is finally working. First forgot to put exclamation sign and I was thinking that I was going crazy :-0
Thanks all, but I hope in future there would be an easier way to do it like
[[group:eq=`Members`:then=`blahblah`:else=`blah`]]