• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Is it possible to make an if conditional dependent on the styleid?

I'm trying to show different content in a sidebar widget dependent on the style. Is this possible to do using if conditionals?

I might be way off, but I tried something like:

<xen:if is="{xen:helper styleid=2}">
Content 1
<xen:else />
Content 2

But that didn't work.

Any help is greatly appreciated!