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.

Sort default cPanel tabs

Discussion in 'User Experience' started by Astral God, Mar 23, 2012.

  1. Astral God

    Astral God Well-Known Member

    Joined:
    Sep 27, 2010
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    Hi.

    I would like to sort, for all new accounts, the tabs default order:

    Domains
    Files
    Databases
    Advanced
    Security
    Mail
    ....


    How can i do this ?

    Thanks.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,471
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Interesting idea. I'm not sure if this can be done so leaving for someone else to respond properly. I moved a few sections around just now and then logged out, and then looked in the home/username/.cpanel/ directory and its directories inside to check dates on files to see what changed.

    These sections settings are cached by the system I guess. Can you place copies of the needed files into cpanel3-skel for use? Not sure. But I do like the idea of being able to if we could. :)
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    You should be able to set this with the NVdata::set API 1 call (ApiNVData < ApiDocs/Api1 < TWiki). An untested example from your request would look like:
    Code:
    NVdata::set('xmaingroupsorder', 'domains|files|db|advanced|sec|mail|logs|pref|software', 0)
    
    For more information you should ask in the developers forum.
     
Loading...

Share This Page