sigsys

Member
Aug 21, 2003
5
0
151
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
 

PWSowner

Well-Known Member
Nov 10, 2001
2,901
4
343
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.
 

GordonH

Well-Known Member
Sep 6, 2001
104
0
316
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.
 

Roy@ENHOST

Well-Known Member
Mar 5, 2002
487
0
316
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!