How to remove the "Switch to Glass" banner from the cPanel interface Print

  • 0

Introduction

In cPanel 96 we added the new Glass style to Paper Lantern.  When users access their cPanel accounts they are presented with a banner asking if they want to try this, which has the following text:

 

"Introducing our new style, Glass.  A clean, elegant take on our classic design.  Try it out.  Let us know what you think."

 

Here is an example of what this looks like in the interface:

 

Screen_Shot_2021-05-20_at_3.48.38_PM.png

 

To avoid confusion to end-users, some server administrators would prefer to remove that banner.

 

Procedure

 

Removal for existing accounts

 

The following API command will remove this banner for existing accounts on the server:

 

echo '{"personalization":{"xmainNewStyleBannerDismissed":"1"}}' | uapi --user=username --input=json --output=json Personalization set

 

Removal for new accounts

 

The following commands will keep the banner from appearing for all accounts created in the future on the server:

 

mkdir -pv /root/cpanel3-skel/.cpanel/nvdata/
echo -n "1" > /root/cpanel3-skel/.cpanel/nvdata/xmainNewStyleBannerDismissed

 


Was this answer helpful?
Back

Send Message