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.

Default WHM theme for new resellers

Discussion in 'General Discussion' started by cesarlwh, Mar 2, 2010.

  1. cesarlwh

    cesarlwh Well-Known Member

    Joined:
    Sep 23, 2008
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    How to configure the default WHM theme for new resellers?
     
  2. CDDHosting

    CDDHosting Member

    Joined:
    Feb 18, 2010
    Messages:
    15
    Likes Received:
    1
    Trophy Points:
    3
    When creating the packages in WHM you can select the theme you require to be used for any account using that package.
     
  3. cesarlwh

    cesarlwh Well-Known Member

    Joined:
    Sep 23, 2008
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    I am speaking of the theme of the WHM for new resellers…
     
  4. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    It is possible to set a default WHM theme for new resellers by creating a file at the following path that contains the name of the theme:
    Code:
    /root/cpanel3-skel/.whmtheme
    Via root SSH access, here is an example command to set a default theme for new resellers where the WHM theme name is "x" (that is the stock-default for WHM):
    Code:
    # echo "x" > /root/cpanel3-skel/.whmtheme
    To view the file contents and confirm what was just set, the following may be used:
    Code:
    # cat /root/cpanel3-skel/.whmtheme
    Example output:
    Code:
    # cat /root/cpanel3-skel/.whmtheme
    x
    WHM theme names may be obtained or confirmed using one of the following methods:
    1.) Via the following WHM menu paths:
    WHM: Main >> Themes >> Change WHM Theme
    WHM: Main >> Themes >> Universal Theme Manager >> WHM [Manage Themes]
    2.) Via a directory listing of the following path:
    Code:
    /usr/local/cpanel/whostmgr/docroot/themes/
    Example commands:
    Code:
    # ls -ahl /usr/local/cpanel/whostmgr/docroot/themes
    # find /usr/local/cpanel/whostmgr/docroot/themes -maxdepth 1 -type d
     
  5. duranduran

    duranduran Well-Known Member

    Joined:
    Apr 30, 2004
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    Thanks.

    But hown can i change the WHM theme for all current accounts (already been created) on the same server ?
     
  6. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Existing resellers can access WebHost Manager to change the WHM theme via the following menu path: WHM: Main >> Themes >> Change WHM Theme
     
  7. duranduran

    duranduran Well-Known Member

    Joined:
    Apr 30, 2004
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    But this way each client has to access and configure WHM.

    Is there a way to do this for them all at once?
     
  8. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    The WHM theme can be manually set for individual resellers via SSH access using a command like the following example, where "$username" should be replaced with the reseller's login username and where "x" (the default WHM theme) should be the name of the desired WHM theme:
    Code:
    # echo "x" > ~$username/.whmtheme
     
  9. pascalfringe

    pascalfringe Member

    Joined:
    Dec 6, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Delhi, India
    WHM is for Admins, so by default, the Clients should not have any access to WHM. CPanel is meant for them.
     
  10. duranduran

    duranduran Well-Known Member

    Joined:
    Apr 30, 2004
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    Resellers have access to WHM.
     
Loading...

Share This Page