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.

Creating new theme

Discussion in 'User Experience' started by sigsys, Sep 13, 2004.

  1. sigsys

    sigsys Member

    Joined:
    Aug 21, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I was looking at making some modifications to the x skin in cPanel. Doesn't seem like it would be too hard to tweak the html, but I'm wondering if that may get overwritten by automatic updates.

    Or would it be better to make a copy of the x directory and rename it to another theme? Is there a tutorial for creating new themes?

    Haven't spent a ton of time looking, but if anyone could point me in the right direction, that would be great.

    Thanks,
    JB
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    If you modify the x skin, it will be overwritten with updates. If you make a copy and modify it, updates won't affect the copy. Sometimes, updates involve changes that you will have to make to your version to keep things working, so what I do is make a copy of the current x skin for reference. When the x skin is changed, I compare the new one to the copy to see what changed, and if needed, apply the changes to my custom ones.
     
  3. GordonH

    GordonH Well-Known Member

    Joined:
    Sep 6, 2001
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    Doing your own skin is fine as long as you only have one or two servers to update.

    We runa service on a modified version of cpanel with very few features and it seems to not be affected by updates stopping functions from working, but if you did the full thing you would need to keep updating all the servers.
     
  4. Roy@ENHOST

    Roy@ENHOST Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    495
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Los Angeles California
    Well it is advisable to use a separate folder when developing a new skin.
    This is to ensure that the update will not wipe out your hard work.

    A tip for you to have best of both worlds:
    If you are only changing the header and footer file, do a symlink to x skin for all the folders and modify only the header and footer.
    This way you can "auto update" your custom theme.
    You can do this in x skin too. But I will advise you to keep it on a separate folder in case it hits the fan during the update.

    Have fun!
     
Loading...

Share This Page