Page 2 of 2
Re: How to hide the "Back" button from non-globeadmin users
Posted: Thu Oct 09, 2025 11:43 pm
by steven
Paul,
Are you saying you don't know how to debug these 3 lines of code yourself?
Code: Select all
if (nuUserLogin()!="globeadmin" ){
nuHide("nuBackButton");
}
Re: How to hide the "Back" button from non-globeadmin users
Posted: Fri Oct 10, 2025 12:14 am
by Paul
I am simply stating a fact.
Re: How to hide the "Back" button from non-globeadmin users
Posted: Fri Oct 10, 2025 12:15 am
by Paul
I am simply trying to figure out a solution to this problem. If you don't want to help, I understand.
Re: How to hide the "Back" button from non-globeadmin users
Posted: Fri Oct 10, 2025 2:41 am
by kev1n
I think it’s better to add the Back button only when the globeadmin is logged in.
That means it should be "invisible" for all other users, and then this JavaScript can be used:
(add it under Setup → Header, inside the nuOnLoad() function)
Code: Select all
if (nuGlobalAccess()) {
nuAddActionButton('Back');
}
In the future, this setting will be changed so that instead of using true/false, you’ll be able to choose between globeadmin, user, or everyone.
But for now, the approach described above should work fine.
Re: How to hide the "Back" button from non-globeadmin users
Posted: Fri Oct 10, 2025 3:37 am
by Paul
Excellent. Works as expected.