I'm trying to add a conditional that checks if some Matrix fields are populated. If there's content, it'll enter the content within the Matrix fields. If not it'll default to another value. However, I'm not having any luck; the code at the moment reads as follows:
{exp:channel:entries channel="{segment_1}"}
{matrix_primary_tag_pair}
{matrix_field_1}
{if matrix_field_2}
{matrix_field_2}
{matrix_field_3}
{if:elseif}
{title}
{/if}
{/matrix_primary_tag_pair}
{/exp:channel:entries}
As it is, either the {title} & {matrix_field_2} {matrix_field_2} appear, or none. Can anyone offer any suggestions? Thanks