The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

replace email section in cpanel

Discussion in 'cPanel Developers' started by cpaneldev, Aug 7, 2009.

  1. cpaneldev

    cpaneldev Registered

    Jun 3, 2009
    Likes Received:
    Trophy Points:

    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?
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Nov 29, 2006
    Likes Received:
    Trophy Points:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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.

Share This Page