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.

Login Page Customization

Discussion in 'User Experience' started by jdhf99, Jul 7, 2009.

  1. jdhf99

    jdhf99 Well-Known Member

    Joined:
    Mar 16, 2004
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    I'm trying to customize the actual login page that displays at :2082, does anyone know where the error message comes from when you fail to login?

    Thanks,
    Corey
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The pages themselves are controlled by a login theme (stored in /usr/local/cpanel/base/unprotected/cpanel). The error messages themselves are hard-coded into cPanel/WHM as far as I can tell.

    To create your own login theme, just copy /usr/local/cpanel/base/unprotected/cpanel to another directory in /usr/local/cpanel/base/unprotected/ such as /usr/local/cpanel/base/unprotected/myTheme

    You can test your login theme before setting it to be the default in Tweak Settings by appending ?login_theme=myTheme to your login URL (where myTheme represents the folder you created and thus the name of your login theme).
     
  3. jdhf99

    jdhf99 Well-Known Member

    Joined:
    Mar 16, 2004
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Alright.

    I find it annoying to have to leave a "space" for messages/error messages within the login theme, but I guess that is what will need to be done.

    Thank you for the answers.
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I'm discussing this with our integrations lead about this as there are other ramifications as well if this is hard-coded.
     
Loading...

Share This Page