cpaneldev

Registered
Jun 3, 2009
4
0
51
Hi,

I would like to conditionally replace the entire email section of cpanel with my own icons and functions. I have a list of domains that should get the new section.

My idea is that before displaying the cpanel control panel, it will do a lookup to see if the domain is in the database, and if it is, to show the custom email section, otherwise, show the default email section.

Is this even possible? If so, what is the best way to accomplish this?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Hi,

I would like to conditionally replace the entire email section of cpanel with my own icons and functions. I have a list of domains that should get the new section.

My idea is that before displaying the cpanel control panel, it will do a lookup to see if the domain is in the database, and if it is, to show the custom email section, otherwise, show the default email section.

Is this even possible? If so, what is the best way to accomplish this?
Feature lists is the easiest way to do this.

When you add your own functionality, you will be doing so with cPanel Plugins (hopefully). When creating a cPanel Plugin icon at cPanel Plugins - Developer you can specify if this function is listed in Feature Manager. Be sure to ensure it is listed in Feature Manager.

There is a special feature list called "default" which is the default features for those not specifically assigned a Feature List. You may want to edit this list to show the default functionality and hide your custom functionality.

Now, you can create different hosting packages. Different hosting packages can use different Feature Lists. When you create/edit a package, just select which Feature List to use next to the setting for Feature List. Those that should see this custom section get assigned a hosting package with that Feature List.