II want to evalute this expression using “Doe, John” as a snippet:
{if title== "Doe, John"}
..do something
{/if}To this I created the snippet:
Snippet Name: last-first
{exp:member:custom_profile_data}
{last-name}, {first-name}
{/exp:member:custom_profile_data}And indeed the snippet evaluates properly…
{last-first} evaluates to Doe, John
However, this expression does not work.
{if title==last-first}
..do something
{/if}I tried nesting a tag in a tag like {if title=={last-first}} which throws an error.
Any ideas how I can make this work?