The contents of this container are only rendered when the person viewing the page has the same userid as checked in the uid attribute.
<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>
Name | Required | Default | Description |
---|---|---|---|
uid | Required | N/A | The user ID which should be checked. |
This component defines no template variables.
<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>