| Posted by | Messages text |
|---|---|
![]() Total post : 4 Profile |
Written on : 23/01/2009 22:15 ( more than one month ) Object : Changing Name arrangement in the Course Menu When the user is in a course, the left bottom menu displays their name. It defaults to showing the name as [last_name] [first_name]. I would like to change it so the display is [first_name] [last_name]. Any ideas? |
Total post : 343 Profile |
Written on : 26/01/2009 22:32 ( more than one month ) Object : Re: Changing Name arrangement in the Course Menu Please go to and open "doceboCore\lib\lib.user.php with text editor ; Find these lines : $user_info = $this->aclManager->getUser(getLogUserId(), false); return ( $user_info[ACL_INFO_LASTNAME].$user_info[ACL_INFO_FIRSTNAME] ? $user_info[ACL_INFO_LASTNAME].' '.$user_info[ACL_INFO_FIRSTNAME] : $this->aclManager->relativeId($user_info[ACL_INFO_USERID]) ); And replace them with these lines : $user_info = $this->aclManager->getUser(getLogUserId(), false); return ( $user_info[ACL_INFO_FIRSTNAME].$user_info[ACL_INFO_LASTNAME] ? $user_info[ACL_INFO_FIRSTNAME].' '.$user_info[ACL_INFO_LASTNAME] : $this->aclManager->relativeId($user_info[ACL_INFO_USERID]) ); HTH |
![]() Total post : 4 Profile |
Written on : 30/01/2009 20:12 ( more than one month ) Object : Re: Changing Name arrangement in the Course Menu Omid, Thank you, that worked wonderfully. |