Hi,
I need to display username next to ‘Hello’ in the Dashboard. something like ‘Hello Bob’ instead of ‘Hello Admin!’.
i figured that this is coming from top_bar.tpl, however i have no clue where the values are getting initialized to the variable $userAlias or $userLogin.
Code in top_bar.tpl
{capture assign=helloAlias}{if !empty($userAlias)}{$userAlias}{else}{$userLogin}{/if}{/capture}
{‘General_HelloUser’|translate:"$helloAlias"}
However i tried the below with no luck.
in /plugins/userManage/Controller.php => inside userSettings() function,
$view->userAlias = ‘value from session variable’; (no luck with this…)
in the Dashboard it is still showing ‘hello Admin!’
Any help is appriciated.
Thanks