In CCS I used to use:
[if empty]This is empty![/if]
Is there something similar in L&L? I’ve tried using statements with count & total but can’t see to get any messages to show.
Thanks!
In CCS I used to use:
[if empty]This is empty![/if]
Is there something similar in L&L? I’ve tried using statements with count & total but can’t see to get any messages to show.
Thanks!
Hello, thank you for the question. There’s a feature called If loop exists
, which is currently missing from the documentation. I’ll make sure to add a section about it.
Here is an example.
<If loop exists type=post name=example>
<Loop>
<Field title />
...
</Loop>
<Else />
Nothing found.
</If>
As you can see, the difference with [if empty]
in CCS is that the If tag goes outside of the Loop.
Works perfectly, thanks!