Forums / Cotonti / Development / help with cotemplate

logical blocks

ez
#32327 2011-12-29 16:20

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

			<!-- 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, 12 years ago)