Forums / Cotonti / Development / help with cotemplate

logical blocks

ez
#32321 2011-12-28 22:10

Hi there,

I have problems with blocks... if MINIDIR_USERNAME is empty (i checked), then this div is shown anyway..
Am I doing something wrong here ???  cot version 0.6.20

 

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

 

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