Forums / Cotonti / Development / help with cotemplate

logical blocks

ez
#32338 2011-12-29 20:10

And the winner of today is Gert

XML/XHTML
1
2
3
4
5
<!-- IF {MINIDIR_SHOWUSERNAME} == "1" AND {MINIDIR_USERNAME} -->
    <div id="mb_admin_user">
        {PHP.L.Username} : <b>{MINIDIR_USERNAME}</b>
    </div>
<!-- ENDIF -->

STILL i find it very strange to not be able to do != ""

Thanks for the many responses... it was for Myfiles by the way smiley


ALSO this situation should be documented !!!!!

==- I say: Keep it EZ -==