Snippet: Template Logic to test if a template variable is defined

This is a Stub article. Help the eZ Publish community by expanding it!

Question

How would one test if a template variable is defined?

Solution

You can use the is_set operator: http://ez.no/doc/ez_publish/techn...rs/variable_and_type_handling/is_set

External reference