if.empty

/ Conditionals / if.empty

If provided variable is empty then executes

syntax –

[if.not_empty “variable”] … code … [/if.not_empty]

Eg:

[if.empty module.res.posts]

[aw2.get template.empty_string]

[/if.not_empty]

Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *