Brandon Sheley Well-known member Jan 17, 2013 #1 I'm trying to get the usergroup markup language in the user block on the home page. Thanks
shadrxninga Well-known member Jan 18, 2013 #2 Edit the template called 'sidebar_visitor_panel' and replace: HTML: <h2>{xen:phrase signed_in_as_x_sidebar, 'name={xen:helper username, $visitor, 'NoOverlay'}'}</h2> with: HTML: <h2 class="username">{xen:phrase signed_in_as_x_sidebar, 'name={xen:helper richusername, $visitor}'}</h2> There's a helper called richusername which gives you the styled username - you need to add the class "username" to the element you have it inside for it work (as it uses css selectors) Upvote 0 Downvote
Edit the template called 'sidebar_visitor_panel' and replace: HTML: <h2>{xen:phrase signed_in_as_x_sidebar, 'name={xen:helper username, $visitor, 'NoOverlay'}'}</h2> with: HTML: <h2 class="username">{xen:phrase signed_in_as_x_sidebar, 'name={xen:helper richusername, $visitor}'}</h2> There's a helper called richusername which gives you the styled username - you need to add the class "username" to the element you have it inside for it work (as it uses css selectors)
Brandon Sheley Well-known member Jan 18, 2013 #3 shadrxninga said: Edit the template called 'sidebar_visitor_panel' and replace: Click to expand... thanks! works like a champ Upvote 0 Downvote
shadrxninga said: Edit the template called 'sidebar_visitor_panel' and replace: Click to expand... thanks! works like a champ