netkingZ
Active member
Hello ,
i need to get username from $user.user_id in template.
i thinks with foreach , how can do this?
Find user by id.
For example:
thanks you
@Chris D @Mike
i need to get username from $user.user_id in template.
i thinks with foreach , how can do this?
Find user by id.
For example:
Code:
<xen:foreach loop="$user.user_id" value="99" i="$i">
<xen:if is="{$user.user_id} == '99'">
{$user.username} <--- username of user_id 99
</xen:if>
</xenforeach>
thanks you
@Chris D @Mike