[RSS Feed/News] xf:avatar backtick interpolation

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I am currently working with a system that involves an object called $staff_member. The staff member object has various attributes, one of which is 'username'. The system utilizes the <xf:avatar> function to generate avatars for the staff member.

The system builds an html structure out of strings that represents html code, as later I intend to use innerHTML to display it on the webpage.

This is the line I try to store as a string:
<xf:avatar user="{$staff_member}" size="s" />...

Read more
Read more about this Feed . . .
 
Status
Not open for further replies.
Back
Top Bottom