Today I am going to show you guys how to change the title “My Dashboard” to something a little cooler and more personable. Feel free to leave some comments and let me know what you think or what you changed your title to say!
The code used in this video is as follows:
*****************************(CHANGE THIS)*****************************
$this->setPageHeading(OW::getLanguage()->text(‘base’, ‘dashboard_heading’));
*****************************(TO THIS)*****************************
$displayName = BOL_UserService::getInstance()->getDisplayName(OW::getUser()->getId());
$this->setPageHeading(OW::getLanguage()->text(‘base’, ‘dashboard_heading’, array(‘username’ => $displayName)));
Now change the language “My Dashboard” to include the following….
Hello {$username}!
I hope you guys find this information useful. As always, make sure to check out Arvixe for the best hosting deals on the web and check out Oxwall Accessories for all your custom Oxwall needs!
Charles Benson
I have an adult site using oxwall Platform version 1.8.0 (build 9900)
Tried to change the dashboard to say user name but didn’t work
Should this code change work with version 1.8.0 ?
Thanks
bob daubney