<![CDATA[ [SOLVED] PHx AND and OR help please - My Forums]]> https://forums.modx.com/thread/?thread=74967 <![CDATA[Re: PHx AND and OR help please]]> https://forums.modx.com/thread/74967/phx-and-and-or-help-please#dis-post-415658 and the second has to be
:isnot=``:or:
in place of
isnot=``:and:
]]>
andrearicci Mar 12, 2012, 03:41 AM https://forums.modx.com/thread/74967/phx-and-and-or-help-please#dis-post-415658
<![CDATA[Re: PHx AND and OR help please]]> https://forums.modx.com/thread/74967/phx-and-and-or-help-please#dis-post-415635
:isnot=``:and:isnot=`0`
instead of
:isnot=``:or:is=`0`
?
]]>
ottogal Mar 11, 2012, 08:39 PM https://forums.modx.com/thread/74967/phx-and-and-or-help-please#dis-post-415635
<![CDATA[ [SOLVED] PHx AND and OR help please]]> https://forums.modx.com/thread/74967/phx-and-and-or-help-please#dis-post-415599
        [+maxigallery.picture.depth:isnot=``:or:is=`0`:then=`
            <li title="depth">[+maxigallery.picture.depth:htmlent+]d </li>
        `+]

but I get always the unwanted output. What's wrong?
I also tested this code, where I would like to suppress any ouput if the values are not present:
[+maxigallery.picture.width:isnot=``:and:
maxigallery.picture.height:isnot=``:and:
maxigallery.picture.depth:isnot=``:and:
maxigallery.picture.units:isnot=``:
then=`output`+]
but I have no output both with any value present that none.
What's wrong with my code? thank you
]]>
andrearicci Mar 11, 2012, 01:35 PM https://forums.modx.com/thread/74967/phx-and-and-or-help-please#dis-post-415599