2.9. THEMES
CHAPTER 2. HOW DO I USE WEBHOST MANAGER?
2.9.8
Download a themeball
You can download installed themes for WebHost Manager or cPanel as a themeball a tarred group of all the
files required for a theme. You can use this to brand the downloaded theme with your company's logo or use it
as an example of how to create a brand new theme.
To download a themeball:
1. Click on the Download a Cpanel Themeball or Download a WHM Themeball link in the Themes
menu.
2. Click on the link to the theme that you want to download.
3. Save the themeball to a specific location.
2.9.9
Creating a new theme
You can create a cPanel or WebHost Manager theme from scratch, as long as you have the time. The best way
to create a theme is to download a themeball of one of the working themes to use as an example refer to page
39 for more information. You can find the API info in /usr/local/cpanel/*api.txt
You can use PHP code in cPanel themes. Example:
\$varible = '';
Perl scripts can also be included in theme pages. In the following example, ex.pl would contain perlapi.txt
commands as well as Perl code.
39