Forum Discussion

vishwajit_shind's avatar
10 years ago

To hide the default user name appearing in browser tab of view profile page.

Hi, 

Can any one suggest me how i can hide the default user name which appears in browser tab while loading view profile page. 

Please find the screen shot "actual_behaviour.png" for more details. 

We want to change the default username in the tab. 

Thanks & Regards, 
Vishwajit


actual_behaviour.png
    • luk's avatar
      luk
      Boss

      manasab 's answer is the way to go, use the FreeMarker page.content.head.setTitle() method, this will do what you want and you can set whatever you want as the title.

    • OlivierS's avatar
      OlivierS
      Lithium Alumni (Retired)

      vishwajit_shind to be more precise (and it's not specific to Lithium), the web browser tabs display what's in the HTML TITLE code. As for your question, I'm not sure you can modify it. To me, I would say it's hard coded (the username bit). Is there any reason why you want to change it?

       

      2015-03-25_0821.png

      • vishwajit_shind's avatar
        vishwajit_shind
        Expert

        Hi OlivierS,

         

        Thank you for your update.

         

        We are using javascript to change the all default username in the community to the first name and last name first capital letter. But somehow we were not able to hide the default username appears in the browser tab while view profile page is getting loaded.

         

        Please find the screen shot for more details.

        Thank you.

         

        Regards,

        Vishwajit


        expected_behavior.png