I'm trying to display a matrix field ONLY if it has data entered into it.
I've tried this by wrapping it in this conditional...
{if mymatrix:total_rows > 0}
{mymatrix}
data here
{/mymatrix}
{/if}
But nothing is getting outputted. If I remove the conditional, the matrix is outputted fine. Any ideas? (I'm up to date with EE 2.9.2 & Matrix version 2.6.1)
{if "{mymatrix:total_rows}" > 0}