Форуми / Cotonti / Support / question

Kingsley
#24667 22.05.2010 22:10
Oke, so I think i can do it with:

<!-- IF {PHP.usr.profile.user_name} == "admin" -->

put my content here

<!-- ENDIF -->

can this part {PHP.usr.profile.user_name} be aimed at the usergroup? If so, what does the code need to be?

and will it work between

<!-- BEGIN: USER -->
<!-- END: USER -->

?

Added 1 minute later:

@ kort

Used search, but if I don't know the correct words, how can I find what I'm looking for?

I know noobs like me can irritate you with lame questions, and seeing your reaction on others lately, I guess you are getting fed up with noobs like me..
Try to remember though, that cotonti is a good system, which will attract other ppl than programmers too.
Personally I followed some other ppl from seditio to here, and am here from the beginning of Cotonti. Am not planning to leave either.. so please, if you are bored with answering questions, do not answer them anymore, but let ppl keep there value, even if it doesn't fit in your lane..