Last active
September 9, 2020 17:13
-
-
Save moderatorwes/614de539de35aece9530 to your computer and use it in GitHub Desktop.
Zendesk: Re-direct users to My Activities if End User
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//re-direct end users to My Activities | |
if(HelpCenter.user.role=="end_user"){ | |
location.href="https://yoursubdomain.zendesk.com/hc/en-us/requests/";} |
Hello, I have not used yet but looking forward, thanks.
0O0
I can't figure out how to get this to work in zendesk. I edited the home page in "Copenhagen", replacing all of that code with this code.
But after publishing when I go to the home page I just see this code displayed, not executed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks