What do I actually edit? (Completely New)

Relyc

Registered
Sep 29, 2001
1
0
301
I\'m completely new to editing CPanel, but I\'m pretty sure we (Nine-One) can come up with something really nice. Unfortunatley I have no idea where to start, what files to edit, where to get them, etc.

This seems to be the most likely place to get some help, so I came here :)

If anybody could explain this stuff to me, on the forums or icq/aim (in my profile) that would be greatly appreciated.

Thanks in advance,
-Relyc

[Edited on 9/29/01 by Relyc]
 

void

Registered
Aug 17, 2001
1
0
301
yes, i would like to know how to create themes for CPanel. maybe someone should come up with a short guide for it.

:)
 

Brian Farkas

Well-Known Member
Aug 12, 2001
81
0
306
Unfortunately, you\'re in for a lot of work... You\'re looking at editing probably hundreds of HTML files. You need to keep the underlying code in each file so that cpanel functions correctly, but you would just code the rest as you would any other HTML document... as I said, just do not touch the <cpanel> tags.
 

Dahlia

Active Member
Aug 16, 2001
37
0
306
here is a quick little guide :)

login as root
cd /usr/local/cpanel/base/frontend

now you want to copy the files in the default directory over to your hosting account on your server so you can download the files to your hard drive, etc. and edit them. change the part that says username below to your hosting accounts username.

cp -a default /home/username/public_html

ftp into your hosting account and download the default directory that is now in your public_html directory. now that you have the files you can start to edit/skin them. this is a huge task as there are hundreds of files, but if you are patient you will be able to skin cpanel in a matter of days/weeks.

once you\'ve completed the skinning process, upload the files again to your hosting account. name the directory what you would like your cpanel theme to be named. make sure that you name it something unique, if you upload it using any of the current cpanel theme names, when cpanel runs the update it will overwrite the directory and you\'ll have to do this process all over again. :eek:

ok, login as root again.

cd /home/username/public_html
cp -a cpaneltheme /usr/local/cpanel/base/frontend

now the theme is available to use on your accounts. update your packages, accounts etc. to start using the new theme through webhostmanager. :)
there might be an easier way, but this is how i was taught to get the files and skin them. also, i haven\'t done this for a while so i hope my instructions are correct, going off memory here and it\'s a little covered with cob webs atm. :D
 

xnull

Well-Known Member
Sep 9, 2001
156
0
316
To make it easier downloading and uploading your theme, instead of doing all that copying and ftp\'ing, just get SecureFX (from the makers of SecureCRT), which allows you to SFTP or FTP over SSH, allowing you to FTP to your server root ;)