I wanted to know what is the right syntax on a conditional statement way to check if a Resource used is static or Document? I have a single template that can be used with 2 different types of resource.
So the conditional statement might be like this:
[[+template:is=
static
:then=This is static resource
:else=This is document resource
]]
Anyone knows how to do it in MODx? I'm using MODx revolution latest version.
Thanks :)