1
josevalviana
Displayname in Header Bar...

I really need some code to place the user Displayname after login in the header bar... Something like this...

User actions -------- Welcome, Displayname... If you aren't Displayname click here. --------- searchbox searchbutton


Here is some code: theme_usernav.html

#### Original Code ######
<{if $xoops_isadmin}>
<{$smarty.const._MA_NAV_ADMINISTRATION}>
<{/if}>



#### Included Code ########

Welcome XXXX. If you are not XXXX click
here.

#### Original Code ######## <{else}>

<{$smarty.now|date_format:"%A, %e %B %Y"}>


How can I change XXXX with the DisplayName of the user???
Have tried <{$user.name}> with no success...

Thanxs...

2
highlander
Re: Displayname in Header Bar...
  • 2005/11/3 18:37

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hi Josevalviana,

try <{$xoops_uname}>

greetings Highlander.
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
http://www.AnimalPedigree.com

3
josevalviana
Re: Displayname in Header Bar...

Worked smoothly...

Thanxs....


Login

Who's Online

485 user(s) are online (421 user(s) are browsing Support Forums)


Members: 0


Guests: 485


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits