fm:IfIsUser


The contents of this container are only rendered when the person viewing the page has the same userid as checked in the uid attribute.

Example

<fm:IfIsUser uid="12345"> <div id="my_private_stuff"> i'm the only one allowed to view <a href="/mediadetail/54321">my junk</a> </div> </fm:IfIsUser>

Supported attributes

NameRequiredDefaultDescription
uidRequiredN/AThe user ID which should be checked.

Template variables

This component defines no template variables.

See also

More examples

<fm:IfIsUser uid="12345"> <div id="my_private_stuff"> <p>I'm the only one allowed to view <a href="/mediadetail/54321">my junk</a></p> </div> <fm:Else> <p>If you were <a href="/profile/12345">me</a> you could see my junk here </p> </fm:Else> </fm:IfIsUser>