Howto add/remove a link from the xskin index.html without feature manager?

Falk

Registered
Jul 24, 2003
3
0
151
It is not supported by the feature manager and no precise info on the site as to how to go about it.

I tried editing the index.html through ssh, then uploaded it again, but it is still the same, no change to it, even after a restart.

Thanks

cPanel.net Support Ticket Number:
 

smarcellini

Well-Known Member
Mar 27, 2003
56
0
156
Clone the skin you want to edit, give it a name and edit the index.html or main.html file in an html editor. You can find the new skin under /usr/local/cpanel/base/frontend/

If you don't clone the skin, cpanel will overwrite your editted file.

cPanel.net Support Ticket Number:
 

Falk

Registered
Jul 24, 2003
3
0
151
Okay, thanks.

But has xskin auto updates?

cPanel.net Support Ticket Number:
 

Falk

Registered
Jul 24, 2003
3
0
151
I have done the job, edited the file through cloning, then deleted the old dir. and renamed the new one xskin. But, as some of these scripts have auto-updates, I wonder is cpanel-owned xskin also has auto-updates, for in that case the file will overwrite again.

cPanel.net Support Ticket Number:
 

smarcellini

Well-Known Member
Mar 27, 2003
56
0
156
I have made 5 clones for xskin and have used frontpage to edit the main.html file. They have never been overwritten.

Hope this helps.

cPanel.net Support Ticket Number:
 

PWSowner

Well-Known Member
Nov 10, 2001
2,901
4
343
ON, Canada
Originally posted by Falk
I have done the job, edited the file through cloning, then deleted the old dir. and renamed the new one xskin. But, as some of these scripts have auto-updates, I wonder is cpanel-owned xskin also has auto-updates, for in that case the file will overwrite again.
Cpanels default skins will be overwritten whenever a cpanel update includes any changes to the skin. Cloned skins, given a unique name, will not be overwritten. This includes all cpanel skins, unless they quit using it.

You can make a copy of a skin, give it it's own name, and do whatever you want to it. It will stay the way you make it. Change an existing cpanel skin and it will be changed back. There is one drawback to doing your own skins. When there are new features, or changes in how a feature works, you will need to manually update your skin to accomodate those changes.
 
Last edited: