I'm having a bear of a time with what I thought would be a simple conditional. I've got a Low Variables Matrix field with several dates and custom messages. Basically the client wants to use these dates to remove their phone number on holidays and have a custom message like "Closed today - Merry Christmas!."
Here's what I'm using for testing:
{exp:low_variables:pair var='lv_holiday_message' search:date='04/08/16'}
{if '{total_rows}' == '1'}
{holiday_message}
{if:else}
TEST
{/if}
{/exp:low_variables:pair}
The first conditional always works - if one of the date columns matches the search date then my custom message gets shown. But I can't for the life of me figure out what conditional shows something when a date DOESN'T match. I've tried if:else's , total rows == 0 or empty, checking for data on just the date column itself, if no_results and it never return a my TEST text.
Am I missing something simple or is this just not possible?