Has anyone created a script or snippet of code to customize their search banner?
I’d like to do something that says Welcome @First Name or Welcome @username and it pulls the first name or user name from their registration information.
Has anyone created a script or snippet of code to customize their search banner?
I’d like to do something that says Welcome @First Name or Welcome @username and it pulls the first name or user name from their registration information.
Yeah, you could do that :)
Just tried it on my “artful community” demo sandbox
Code is fairly straightforward:
<script>
var element = document.querySelector("body.qa-forum-site-index h1.brand-hero-title");
var username = inSidedData.user.name;
if (username !== "guest") {
element.innerHTML = "Welcome " + username;
}
</script>
Thank you so much
If you ever had a profile with us, there's no need to create another one.
Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.