markb14391

Well-Known Member
Jun 9, 2008
305
2
68
Hi,

We'd like to rearrange some of the icons in the cPanel interface, to an order that we think is more logical.

The cPanel customization instructions include ways to add and remove icons and groups, but not to rearrange icons within a group. However, I think I've found a way (extrapolating from the other customization guides). I just want to make sure it makes sense and won't break anything.

Of course, the main dynamicui.conf file could be customized, but those changes could be overwritten during a cPanel update. So customizations are generally done in custom dynamicui files which load after the main one. So, my method to rearrange cPanel icons would be as follows (in this example we'll move one icon to the front of the group):

  • Create our own dynamicui file as instructed in the customization documentation.
  • Delete the icon in question with a skipjob directive as instructed in the documentation.
  • Re-add the icon in the desired position by adding a modified version of the original directive from the master dynamicui.conf file.
For example, if I wanted to move the Web Disk icon to the front of its section, I would add the following to my custom dynamicui file:

Code:
description=>$LANG{'MENUWebDisk'},feature=>webdisk,file=>webdav,group=>files,height=>32,imgtype=>icon,itemdesc=>$LANG{'MENUWebDisk'},subtype=>img,type=>image,url=>webdav/accounts_webdav.html,width=>32,itemorder=>1,searchtext=>$LANG{'webdav-searchtxt'}
(In this example I have changed itemorder from 6 to 1.)

So far, this seems to work without breaking anything. But I wanted to present this solution to see if it is viable (and, if so, to help anyone else who wants to reorder cPanel icons).

Thanks,

Mark
 

markb14391

Well-Known Member
Jun 9, 2008
305
2
68
Hi,

Sorry I mised these replies. Will provide data shortly.

Thanks,

Mark

- - - Updated - - -

And thanks, I had seen that thread but I was afraid to edit the primary file because of the updates.