The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Rearranging cPanel Icons

Discussion in 'User Experience' started by markb14391, Dec 18, 2013.

  1. markb14391

    markb14391 Well-Known Member

    Joined:
    Jun 9, 2008
    Messages:
    305
    Likes Received:
    2
    Trophy Points:
    18
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    I don't see any particular concerns with the method you are using if it's working successfully, however the following post may also be of help to you:

    Rearranging Icons with cPanel

    Thank you.
     
  3. cPanelAdamF

    cPanelAdamF cPanel Product Owner
    Staff Member

    Joined:
    Mar 21, 2013
    Messages:
    174
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Houston TX
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Mark, when you get a chance, could you please post a screenshot of the order you prefer? We've been talking internally about rearranging the order/grouping of icons ourselves and I'm curious what your preferred order is.
     
  4. markb14391

    markb14391 Well-Known Member

    Joined:
    Jun 9, 2008
    Messages:
    305
    Likes Received:
    2
    Trophy Points:
    18
    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.
     
Loading...

Share This Page