Foren / Cotonti / Development / help with cotemplate

logical blocks

ez
#32333 29. Dezember 2011, 19:09

@Pieter: I looked inside Cotemplate code... and NO its "AND"

To prove my point !!!


 myfiles5_494.png

With the existing template:

XML/XHTML
1
2
3
4
5
6
7
<div id="mb_foldererror" style="display:none; padding:10px; margin:10px 0; color:red; border:red solid 1px"></div>
--{MINIDIR_SHOWUSERNAME}-- ||{MINIDIR_USERNAME}||
<!-- IF ({MINIDIR_SHOWUSERNAME} == "1" AND {MINIDIR_USERNAME} != "") -->
    <div id="mb_admin_user">
        {PHP.L.Username} : <b>{MINIDIR_USERNAME}</b>
    </div>
<!-- ENDIF -->

I hate buggy crap shit... you see in example above that the labels produce a 1 and a name.. still my div does not get printed.. (The check labels go fine).

ALSO spaces between the elements do make a difference... thats shit to :(  (NOT happy)

 

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