Hey
I want to hide useless content to subscribed (connected) members. For that, I have a private tag : #nomember. In order to do so, I have to check :
- if the post has the special tag
- if the user is a member
Easy ? No. Because I don’t know how to make that in a single statement.
{{If has tag}}
{{if is not member}}
My big chunk of code
{{else}}
Nope. You’re a member and this page is useless for you.
{{/if}}
{{else}}
The same big chunk of code
{{/if}}
That means that I always have to write my code in doble, if I want to achieve that.
Also, can I break / exit foreach blocks ?
Thanks