community:isFriend
Checks if a user is a friend or almost is a friend.
<community:isFriend id="isFriend" friend="user"/> <logic:equal name="isFriend" value="false"> <a href="#">Add as friend</a> </logic:equal>
Syntax
<community:isFriend friend="..."? friendId="..."? id="..."? name="..."? type="..."? userId="..."?> ... </community:isFriend>
Attributes
id
, no runtime expressionsname
userId
friendId
friend
type