RSS Feed/News Avatar tag syntax in template

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,656
Points
823

Reputation:

Hello,
I'd like to display a few specific avatars in my template.

What would the syntax be?
<xf:avatar user="{$xf.visitor}" size="o"/>
this works of course, and displays the current user.

But I need to display a specific users avatar.
<xf:avatar user="1234" size="o"/>
This doesn't send the whole object so doesn't display it correctly...

Thanks!!

Continue reading...
 
Status
Not open for further replies.
Top