I have a conditional which is the following:
{if '{current_time format="%H%i"}' >= '0000' AND '{current_time format="%H%i"}' <= '1300'}
<a href="{path="speisekarten"}#mittagskarte">{navi_speisekarten}</a>
{if:else}
<a href="{path="speisekarten"}#abendkarte">{navi_speisekarten}</a>
{/if}
This works well. But I need an additional function: If there is no entry in the Channel "mittagskarte" show <a href="{path="speisekarten"}#abendkarte">{navi_speisekarten}</a>
even if it's between 0000
and 1300
How do I write this? This melts my brain. I tried a few things mostly ending up in a parsing errors.
The conditional is not inside a Channel Tag.
Thank you