1
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}>
<a class="item" href="<{$xoops_url}>/admin.php"><{$smarty.const._MA_NAV_ADMINISTRATION}></a>
<{/if}>
</div>
</td>
#### Included Code ########
<td id="welcome">
Welcome XXXX. If you are not XXXX click
<a href="<{$xoops_url}>/user.php?op=logout">here</a>. </td>
#### Original Code ######## <{else}>
<td id="date">
<{$smarty.now|date_format:"%A, %e %B %Y"}>
</td>
How can I change XXXX with the DisplayName of the user???
Have tried <{$user.name}> with no success...
Thanxs...