6 Comments

  • Official comment
    Vladan Jovic
    Comment actions Permalink

    Hi Josed, maybe this code will help.

     if(HelpCenter.user.role!='anonymous') {
    $('.form').before('<h2>Welcome back '+HelpCenter.user.name+ '</h2>');
    }

    You should add it on JS tab after this row:

    $(document).ready(function() {

    Please let us know the result. Thanks

  • Nicole - Community Manager
    Comment actions Permalink

    Hey, Josed! Welcome to the Zendesk Community. 

    The customization you're asking about is something that you can do via the JavaScript code. I'm no JavaScript expert, but I'll ping a few folks and hopefully one of our mods or someone from the community can help you figure out what that code would look like. 

    0
  • josed
    Comment actions Permalink

    Thanks Nicole!

    0
  • Nicole - Community Manager
    Comment actions Permalink

    You're welcome! 

    Thanks for jumping in with the code, Vladan. 

    0
  • josed
    Comment actions Permalink

    Thanks Vladan !  It worked perfectly..

    0
  • Jennifer Rowe
    Comment actions Permalink

    And Josed, here's a tip to add the user's name to the Search box, if you're interested:

    Add welcome note in HC search box along with user name

    2

Please sign in to leave a comment.

Powered by Zendesk