XF 1.2 Inserting User Avatar in the Header does not work

#1
What I need to achieve:
When the user is logged in, I want his/her avatar + summary info shown in the side bar to appear in the top right corner of the header.

What I did:
I pasted this in the header template:
Code:
<xen:sidebar>

</xen:sidebar>
What I got:
Nothing. There was no change to the header. However, I tried adding the same couple of lines to other templates and it worked as expected, i.e. the user avatar+summary appear wherever the code is pasted.

I would appreciate it if someone can help me understand why is that, and if there is a better way to do what I am trying to do.

Thank you in advance

P.S. I am new to this thing. Please feel free to state the obvious!
 
#3
Added only the code above to the "header" template, as shown in the snapshot:
upload_2014-1-21_19-33-59.png


Please tell me I did something silly and it is easy to fix :)

Many thanks for your response!
 

Brogan

XenForo moderator
Staff member
#4
Perhaps it might be easier if you explain what it is you are trying to do.

Why are you trying to add a sidebar to the header?
 

Lukas W.

Formerly katsulynx
#5
He wants to move or copy the first block of the sidebar, containing avatar, post count, likes and tropy points to the header.
 
Top