It seems to be an easy question but I can not find the answer. I like to check if the result of a bloX or migxloopcollection returns an empty result. I use bloX to fill Tabpages and I like to hide an empty tabpage with output modifiers or something like that. If that is not possible I like to show "No results found" when the query is empty. Can someone give me a hint how to do this? Thanks.
there are several ways.
with migxLoopCollection you can put the result into a placeholder with
&toPlaceholder=`myresult`
then you can use that placeholder
[[[[+myresult:isnot=``:then=`<div class="mytab">+myresult</div>`:else=`$my_noresult_chunk`]]]]