How can I change the profile thumbnail in the header to the username? I have tried editing extra_sm_thumbnail.html, changing _thumbnail_ to __nickName__ but that doesn't work at all.
thanks,
Dan
How can I change the profile thumbnail in the header to the username? I have tried editing extra_sm_thumbnail.html, changing _thumbnail_ to __nickName__ but that doesn't work at all.
thanks, Dan |
We would need to know what you are calling the "header". Header has a specific meaning to most of us, and I'm pretty sure it's not what you're referring to. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
You set that in your admin; /administration/advanced_settings.php Geeks, making the world a better place |
I am thinking the person is talking about the extra service menu. Geeks, making the world a better place |
RE: You set that in your admin; /administration/advanced_settings.php
That should keep him amused for a while. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
sorry if I wasn't clear, I was referring to the thumbnail in the extra service menu.I want to replace the profile thumbnail with the username. I have looked through the advanced settings but see nothing that will work for replacing the thumbnail with the username. |
sorry if I wasn't clear, I was referring to the thumbnail in the extra service menu.I want to replace the profile thumbnail with the username. I have looked through the advanced settings but see nothing that will work for replacing the thumbnail with the username. Why didn't you just say so in the first place? No, that setting is for setting what is used site wide for the user's name. Geeks, making the world a better place |
I will give you a hint; BxBaseMenuService.php. By the way, there is also a builder for the service menu. Geeks, making the world a better place |
I looked at that page and am looking at the following code: return $GLOBALS['oSysTemplate']->parseHtmlByName('extra_sm_thumbnail.html', array(
but I am lost here as what to change. I also tried looking at the builder for the service menu but cannot figure out how to edit a block to make it work. |
That thumb is used site wide, and you can't change it in just the service menu area. It would be a global change. What you could do, is remove the thumb from that area, and add an entry to the service menu in the database (sys_menu_service) that would display the user name. I have to ask why you want to do it though. The logged in user will know who they are without you telling them. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
That did it, thanks! I made another entry and used {memberNick} as the caption. Thanks again, Dan |