Introduction
In your cPanel interface, the options you can select are put into sections, or "groups," as we refer to them. For example, in version 94 of cPanel, the email section is on the top of the interface by default.
If you want to change the order of these "groups" you can edit the group order of the file /usr/local/cpanel/base/frontend/paper_lantern/dynamicui.conf
. As shown below:
Procedure
1.) Sign into you WHM server as 'root'
2.) For safety, take a backup of the file /usr/local/cpanel/base/frontend/paper_lantern/dynamicui.conf
using the command below:
cp -vp /usr/local/cpanel/base/frontend/paper_lantern/dynamicui.conf{,.backup}
3.) Using a text editor of your choice, edit the file /usr/local/cpanel/base/frontend/paper_lantern/dynamicui.conf
and change the "grouporder" for each section. Please ensure that each group has a different "grouporder."
Here is an example, if I want the "group_email" group to be on top, I must ensure its "grouporder" is set to "1"
{
"width": "48",
"grouporder": "2",
"file": "group_email",
"height": "48",
"description": "$LANG{'Email'}",
"groupdesc": "$LANG{'Email'}",
"group": "email",
"subtype": "img",
"imgtype": "icon",
"type": "image",
"if": "$HASROLE{'MailSend'} || $HASROLE{'MailReceive'} || $HASROLE{'DNS'} || $HASROLE{'CalendarContact'}",
"key": "group_email"
},
4.) When you are done making changes, run the following command:
/usr/local/cpanel/bin/rebuild_sprites