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.

Editing Control Panel

Discussion in 'General Discussion' started by cwboaze, Jun 12, 2007.

  1. cwboaze

    cwboaze Member

    Joined:
    Nov 5, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    my question is simple!,
    where is the location of the main
    page that is displayed once
    you have logged into cpanel.

    I have cpanel 11
    using x3 skins.

    Which i like, I am trying to find this page
    so I can edit the code adding a extra grahic
    for Live Help with our system.

    is this possible and where is it located,
    which method do you recommend me
    using pico or nano to edit the file!
    or another method!

    thanks for your help!
     
  2. visiox

    visiox Well-Known Member

    Joined:
    Jan 19, 2004
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    what you are looking for is in [/usr/local/cpanel/base/frontend/x3]

    It doesn't matter if you use nano, pico or vim. These are all "just" editors.
     
  3. cwboaze

    cwboaze Member

    Joined:
    Nov 5, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    appreciate it man!,
    thanks,. for the help.
     
  4. cwboaze

    cwboaze Member

    Joined:
    Nov 5, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    ok, I edit the file
    index.html like I wanted.

    save changes and go look at
    the control panel!, it is changed.

    Great!,

    I thought to myself I better test
    something before I edit completely
    the way I want it!

    So I run cpanel updates!,
    well it overrides my edits

    is there something I can do
    to make this not override my edits
    to a certain file or just don't run
    cpanel updates.
     
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The trick is to not edit cPanel files. Rather, if you are customizing a theme manually - copy/paste it to make a new theme then edit your copy of the theme rather than cPanel's version. This will prevent your changes from getting lost in an upgrade/update.
     
  6. cwboaze

    cwboaze Member

    Joined:
    Nov 5, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    ok, noted.

    is there anyway to edit which videos are
    listed in the video tutorials.

    Some videos I don't want shown like
    how to change your password. I don't
    allow such things on our hosting services.

    Where is the location to this video tutorial
    page and if I edit it will it stay edited.
    or replace once I update cpanel.
     
  7. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Seeing as the path is frontend/x3/tutorial.html, I would assume the file to be stored somewhere in /usr/local/cpanel/base

    Just note that if you edit tutorial.html for the X3 theme, it may be replaced by later cPanel updates. You may want to copy the X3 theme and customize that theme instead to avoid any possible loss to your customizations.
     
  8. cwboaze

    cwboaze Member

    Joined:
    Nov 5, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    this is not editable:

    I looked and found the file,
    here it's code:

    Code:
    <html>
    <head>
    <title>cPanel X</title>
    <cpanel relinclude="charset.html">
    </head>
    <frameset rows="*" frameborder="NO" border="0" framespacing="0" cols="*">
      <frame name="mainFrame" src="https://www.cpanel.net/products/cPanelandWHM/linux/cpanel11/tutorials.html">
    </frameset>
    <noframes>
    <body bgcolor="#FFFFFF" text="#000000">
    </body>
    </noframes>
    </html>
    
    They are outsourcing the code using frames,
    so I can't edit which videos I want to play or not!

    I am submitting this to support, to
    see if we could get a system built, to control
    which videos show!
     
  9. zippohosting

    zippohosting Active Member

    Joined:
    Apr 21, 2007
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Can someone provide the steps to add a link

    I read all this but I am somewhat confused.

    Can someone provide the baby steps to place an icon in CP that will not be overwritten and that I can link to my helpdesk???

    I have the latest version of cPanel.
     
  10. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    This is the easiest way to do this. Not exactly the best way, because you need to repeat this process for all styles. The best way would be to create a cPanel Plug-in that redirected to your help desk when clicked. However, knowing that most web hosting providers only let their users use maybe 1 or 2 styles of the X3 theme anyway - here's the easy way to do this :):

    1. Login to your cPanel interface using a Reseller Account's user/pass
    2. Click on "Branding Editor" in the Preferences block
    3. Below the style you wish to edit, click "Edit This Style"
    4. Click "Add Interface Elements"
    5. For "Select A Type:" select Image
    6. For "Select Image Category:" select Icon
    7. For "Create a Filename:" type a filename for your button, example: myTech
    8. For "Create a Description:" describe the button's use
    9. For "Select Image Type:" select Image
    10. Height and Width is the height/width of the image.
    11. Description is the text that appears below your icon
    12. Ignore the Feature and If fields
    13. For "URL:" enter the URL to link to (ex: the URL of your support desk)
    14. For "Group:" enter the name of a group to place the icon in. Groups bundled with the X3 theme are: pref, mail, files, logs, sec, domains, db, software and advanced. If for some reason you already have created your own group, you can use that name as well.
    15. For "Item Order:" place where you want your icon to be on the list (low numbers being near the beginning, high numbers like 999 meaning at the end).
    16. Click "Add"
    17. Click "Back to Branding Editor"
    18. Click "Edit This Style" for the style you were editing
    19. Click "Edit Icons"
    20. You will now be able to upload your own icon. Scroll down to your icon (note the filename and Description will be displayed here), next to it is a browse button to upload an image. Browse for your image.
    21. Click "Upload Images" at the bottom of the page
    22. Repeat steps 3 through 21 for other styles of the X3 theme if you desire.
     
    Infopro likes this.
  11. zerutreck

    zerutreck Member

    Joined:
    Oct 9, 2006
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Click "Add Interface Elements"

    My whm dont have this option:

    "Click "Add Interface Elements""


    What mine whm of has made a mistake?
    What I made of wrong? Something related to be as root?

    Thanxs,

    Hermes Alves
     
  12. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Since I wrote that, that functionality has been removed from cPanel/WHM. If you wish to add an icon to the cPanel interface, you will need to create a cPanel Plugin. Documentation for that is available at:

    http://www.cPanel.net/plugins/devel
     
    #12 cPanelDavidG, Sep 11, 2007
    Last edited: Sep 12, 2007
  13. zerutreck

    zerutreck Member

    Joined:
    Oct 9, 2006
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Link broken

    Link not found.
     
  14. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Whoops, sorry about that - should have been /plugins not /plugin :)
     
Loading...

Share This Page