There are two things you can change on your customers control panel.
1. The 737 X 124 image at the top. You can create your own image or
just edit the default image.
2. You can also add your own links to the "Support Links" pull down menu.
This will allow you to add links to your site, helpdesk, FAQ or anything you
want.
Changing the header image
The header image must be 737 pixels wide by 124 pixels
high. The image must be named cp.gif, cp.jpg or cp.png and uploaded into /cpanelbranding/recpanel
directory. Please note the cpanelbranding directory is not in public_html. It
needs to be in the root of your account. Once this is done your client's control
panel will show the new image. You may have to create the cpanelbranding/recpanel
directory.
Note: The image must be in the /cpanelbranding/recpanel
directory not the /public_html/cpanelbranding/recpanel directory.
Note: The new image will only show on
your client's control panel it will not show on your control panel.
Changing the Support Links pull
down menu
This is a little more complicated
but if your careful you shouldn't have any problems. Go to
http://ez-web-hosting.com/supportlinks.txt
to get a copy of this file to edit. You can copy and paste the text or
right click on the link and select save target as. Then you can edit it. This file will look like
this:
if(typeof(loc)=="undefined"||loc==""){var loc="";if(document.body&&document.body.innerHTML){var tt=document.body.innerHTML.toLowerCase();var last=tt.indexOf("ezcpanel.js\"");if(last>0){var first=tt.lastIndexOf("\"",last);if(first>0&&first<last)loc=document.body.innerHTML.substr(first+1,last-first-1);}}} var bd=0 document.write("<style type=\"text/css\">"); document.write("\n<!--\n"); document.write(".ezcpanel_menu {border-color:#000000;border-style:solid;border-width:"+bd+"px 0px "+bd+"px 0px;background-color:#bbd6f1;position:absolute;left:0px;top:0px;visibility:hidden;}"); document.write("a.ezcpanel_plain:link, a.ezcpanel_plain:visited{text-align:left;background-color:#E6E6E6;color:#000000;text-decoration:none;border-color:#000000;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:8pt;font-family:Verdana, Arial, Helvetica, sans-serif;}"); document.write("a.ezcpanel_plain:hover, a.ezcpanel_plain:active{background-color:#B7CBCF;color:#000000;text-decoration:none;border-color:#000000;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:8pt;font-family:Verdana, Arial, Helvetica, sans-serif;}"); document.write("\n-->\n"); document.write("</style>"); var fc=0x000000; var bc=0x6d9fde; if(typeof(frames)=="undefined"){var frames=0;} startMainMenu("",0,0,2,0,0) mainMenuItem("ezcpanel_b1",".gif",26,125,"javascript:;","","Support",2,2,"ezcpanel_plain"); endMainMenu("",0,0); startSubmenu("ezcpanel_b1","ezcpanel_menu",125); submenuItem("Support Main","http://ez-web-hosting.com/helpdesk/","","ezcpanel_plain"); endSubmenu("ezcpanel_b1"); loc=""; |
The only part of this you have to edit is the part
that's highlighted.
submenuItem("Help Desk","http://yourdomain.com/cpanel/","_blank","ezcpanel_plain");
To add items to the pull down menu
just add lines like the one above just above or below the highlighted line.
submenuItem("Label","Link","Target
Window","ezcpanel_plain");
There are three parts of this line
you need to edit to add a new link to the menu.
Label - This is what it says on the
pull down menu. In our example the label is
Help Desk.
Link - This should be the full link to
the page starting with http:// for example http://yourdomain.com/helpdesk/
Target Window - Leave this as _blank if
you want the link to open in a new window. Leave it blank if you don't want the
link to open in new window.
Do not change the ezcpanel_plain part of
the line.
You can add as many links to the menu as
you like just add a new line for each one. The links will appear on the pull
down menu in the same order as you put them in the file.
Here is an example list. You can add
anything you like and remove anything you don't want from this list.
startSubmenu("ezcpanel_b1","ezcpanel_menu",125);
submenuItem("Home Page","http://yourdomain.com","_blank","ezcpanel_plain");
submenuItem("FAQ","http://yourdomain.com/faq/","_blank","ezcpanel_plain");
submenuItem("Affiliate Program","http://yourdomain.com/affiliate.html","_blank","ezcpanel_plain");
submenuItem("Help Desk","http://yourdomain.com/helpdesk/","_blank","ezcpanel_plain");
submenuItem("Documentation","/docs/cpanel/index.html","_blank","ezcpanel_plain");
endSubmenu("ezcpanel_b1");
Here is an example of what your final
text file will look like using the lines above:
iif(typeof(loc)=="undefined"||loc==""){var loc="";if(document.body&&document.body.innerHTML){var tt=document.body.innerHTML.toLowerCase();var last=tt.indexOf("ezcpanel.js\"");if(last>0){var first=tt.lastIndexOf("\"",last);if(first>0&&first<last)loc=document.body.innerHTML.substr(first+1,last-first-1);}}} var bd=0 document.write("<style type=\"text/css\">"); document.write("\n<!--\n"); document.write(".ezcpanel_menu {border-color:#000000;border-style:solid;border-width:"+bd+"px 0px "+bd+"px 0px;background-color:#bbd6f1;position:absolute;left:0px;top:0px;visibility:hidden;}"); document.write("a.ezcpanel_plain:link, a.ezcpanel_plain:visited{text-align:left;background-color:#E6E6E6;color:#000000;text-decoration:none;border-color:#000000;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:8pt;font-family:Verdana, Arial, Helvetica, sans-serif;}"); document.write("a.ezcpanel_plain:hover, a.ezcpanel_plain:active{background-color:#B7CBCF;color:#000000;text-decoration:none;border-color:#000000;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:8pt;font-family:Verdana, Arial, Helvetica, sans-serif;}"); document.write("\n-->\n"); document.write("</style>"); var fc=0x000000; var bc=0x6d9fde; if(typeof(frames)=="undefined"){var frames=0;} startMainMenu("",0,0,2,0,0) mainMenuItem("ezcpanel_b1",".gif",26,125,"javascript:;","","Support",2,2,"ezcpanel_plain"); endMainMenu("",0,0); startSubmenu("ezcpanel_b1","ezcpanel_menu",125);
|
Now just save the file as
supportlinks.txt. The name must be exactly supportlinks.txt all lower case. Next
upload this file into the cpanelbranding/recpanel directory. Then check it in
one of your client's control panels. If it created a problem just delete or
rename the supportlinks.txt file on server and the default file will start
working again.