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.

Stop customers from dragging links

Discussion in 'cPanel Developers' started by salvatore333, Oct 20, 2009.

  1. salvatore333

    salvatore333 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    I added some links to my cpanel x3 theme but I do not want to allow customers to drag the row of links I made to the bottom of their control panel. I want them to stay permanently at the top.

    How can I do this please?


    Thank you very much
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    What method was used to add the new group (row of links) into X3?

    What files were modified to set the current order, if any?

    It should be possible to keep the custom group at the top by specifying a very low (negative) number (e.g., "-99") for the group order in a custom dynamicUI configuration file. The following two posts should help to further clarify this further:
    http://forums.cpanel.net/568149-post7.html
    http://forums.cpanel.net/572285-post10.html
     
  3. salvatore333

    salvatore333 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    This is the method: cPanel Plugins - Developer

    I had the order set to 1 in the file i made in this folder: /usr/local/cpanel/base/frontend/x3/dynamicui/

    then i logged into a customer who dragged my links to the bottom of her control panel. i changed the order in the file to -99 and it went back to the top like it was originially. however i dragged my links to the bottom again, logged out of firefox, opened up a new browser and logged back into her account and the links were still on the bottom.

    i want a way so my links stay permanently on the top so the customer cannot drag my links anywhere, even if it takes killing the whole code that drags any links around.

    please advise and thanks so much for your response.
     
  4. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    After checking with colleagues I confirmed this specific functionality, for a static group of icons (without drag-and-drop) is not currently possible in X3.

    While it is not be an immediate solution, I would consider posting a feature request asking for this in the following forums area where it can gain more attention and receive additional input and public comment:
    Feature Requests for cPanel and WHM - cPanel Forums
     
  5. Solokron

    Solokron Well-Known Member

    Joined:
    Aug 8, 2003
    Messages:
    849
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Seattle
    cPanel Access Level:
    DataCenter Provider
    You can place a static group @ the very top or bottom. It will not be collapsible though.
     
  6. salvatore333

    salvatore333 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    May I ask exactly how do you do that?

    Thank you
     
  7. Solokron

    Solokron Well-Known Member

    Joined:
    Aug 8, 2003
    Messages:
    849
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Seattle
    cPanel Access Level:
    DataCenter Provider
    http://forums.cpanel.net/f42/adding-new-menu-box-104693.html#post470065

    I did something like this:

     
Loading...

Share This Page