Hi! I’d like to display the user alias instead of the user login in the Hello portion on the Piwik Dashboard.
It currently displays the user login.
I’m using the user alias as the user’s name, since the user login needs to be unique and of course secret. And so want to display this instead.
Is there an easy pre-created way to access the user alias? Is it stored in a current user object somewhere?
In a perfect world I’d like to change the variable below in top_bar.tpl from:
And before I go writing a change, thought I’d quick ask if there is an easy way to grab the alias from an existing in memory object. Or if the user alias is stored in a global object already somewhere.