Forums / Cotonti / Development / help with cotemplate

logical blocks

ez
#32327 2011-12-29 16:20

Sorry, it didn't work... :(

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 -->

With or without spaces... CoTemplate does not work the way i expect... and the vars i checked 200 times...

I am depending on this to work bigtime... but for now i find the cotemplate buggy in logical blocks... no

 

==- I say: Keep it EZ -==
This post was edited by ez (2011-12-29 16:35, 13 years ago)