Page 1 of 2 12 LastLast
Results 1 to 15 of 22

Thread: Customize login page

  1. #1
    Member
    Join Date
    Dec 2007
    Posts
    10

    Default Customize login page

    Does anyone know how to customize the login/out pages of Cpanel/webmail?

    I have gone to main/themes/universal theme manager/login manage theme s. I downloaded the default, modified it, made it a tar file with an images directory, changed the suffix to .cptheme and then uploaded it.

    It doesn't work.

    Does anyone know what I need to do to make this work? I have searched the threads on this forum and have found links to customizing the login page, but they were not clear to me. Any help appreciated! Thanks

  2. #2
    Member
    Join Date
    Dec 2007
    Posts
    12

    Default

    bump I've downloaded and edited then uploaded all goes well how do I select the new login theme?

  3. #3
    Member
    Join Date
    Dec 2007
    Posts
    12

    Default

    ok I found where you set the login theme oddly enough not under the themes settings section but in the "Tweak Settings" section first item...

    I have changed the name to my new theme - however it does not reflect the change... what else am i missing?

  4. #4
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,770

    Default

    Quote Originally Posted by efoiv View Post
    ok I found where you set the login theme oddly enough not under the themes settings section but in the "Tweak Settings" section first item...

    I have changed the name to my new theme - however it does not reflect the change... what else am i missing?
    Clear you cookies. Once you have a login theme set you have to clear them to get a new one. Its done this way to prevent one from getting a different login theme from a custom login page. For best results set the login theme from a separate login page.

    See this sample here:

    http://www.cpanel.net/cpanel-login.phps

    Note: this is an updated version with the login_theme variable set.

  5. #5
    Member
    Join Date
    Dec 2007
    Posts
    12

    Default

    thanks for that - I've also been looking at the source and I think it might have something to do with using the default path for the css. what should the custom css header path look like?
    I've tried some many variations I've lost count

  6. #6
    Member
    Join Date
    Dec 2007
    Posts
    12

    Default

    I had a look at your custom login and while I think that is a nice solution... it isn't secure. I'd have to get another ssl cert to cover it as of now my ssl cert is set to be used with whm, cpanel and webmail.


    I'd really just like to use the built in system to have a custom theme.

    The thing I'm seeing not working correctly is after editing all the headers and css for my custom theme it's not getting the correct path to my new theme.

    I've tried

    <link rel="stylesheet" href="style.css" type="text/css">
    <link rel="stylesheet" href="/style.css" type="text/css">
    <link rel="stylesheet" href="cpaneljmm/style.css" type="text/css">
    <link rel="stylesheet" href="/cpaneljmm/style.css" type="text/css">

    cpaneljmm being the name of the custom theme folder

    What in dog gone blazes is the correct css path???? I even made some wild outlandish color changes to the css to see when it finally gets it.

    anyone have an answer what that path should be?

  7. #7
    Member
    Join Date
    Dec 2007
    Posts
    12

    Default Custom Login Panels

    Ok maybe I'm not the brightest crayon in the box but this wasn't very clear to me so I am posting this for anyone else confused by how to make a simple custom login using the default built in tools not an entirely new login system.



    Of course you need to edit your images i wasn't looking for anything very different from the basic login panel just more polished.


    The part that stumped me was the correct paths to the css file and images... this isn't so obvious as it seems.


    EDIT ALL 3 header files
    header_webmaild.html
    header_whostmgrd.html
    header.html

    The correct path to your custom theme css should be
    Code:
    /unprotected/YOUR CUSTOM THEMES NAME HERE/style.css
    now open the style sheet itself you need to edit the path to the images
    the image location will be
    /unprotected/YOUR CUSTOM THEMES NAME HERE/images/button-bg.jpg
    etc
    etc
    etc
    do this for all the image paths

    upload your completed theme then go to Tweak Settings and enter the name of YOUR new theme

    that's ALL nice and simple

    See the attachment for how it looks... this is without branding and titles yet but you get the idea.
    Attached Thumbnails Attached Thumbnails Customize login page-picture1.png  

  8. #8
    Member
    Join Date
    Dec 2007
    Posts
    12

    Default

    in case anyone would like a starting point... here is the generic login mod you can customize with your own logo and info

    Here are the simple steps
    1. Download this posts attachment
    2. Expand it then recompress using tgz (the forum only allows zip and cpanel wants gz)
    3. go to your Web Host Manager
    4. go to Universal Theme Manager > Login Manage Themes
    5. click browse and upload the new theme archive (whm will expand it for you)
    6. now go to Tweak Settings in the first item under Display (should be the very first thing) change the default "cpanel" value to the name of the theme you just uploaded "smoothnclean"
    7. save your settings


    you might need to quit your broswer and dump your cache to see the changes
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    Dec 2007
    Location
    bolton/preston
    Posts
    3

    Default

    thansk this helps me out

  10. #10
    Member
    Join Date
    Dec 2007
    Posts
    12

    Default

    Quote Originally Posted by DjMorley View Post
    thansk this helps me out
    Very happy to help out where I can. I was sure I wasn't the only person looking for this here.

  11. #11
    Member
    Join Date
    Dec 2007
    Posts
    10

    Default

    Quote Originally Posted by efoiv View Post
    in case anyone would like a starting point... here is the generic login mod you can customize with your own logo and info

    Here are the simple steps
    1. Download this posts attachment
    2. Expand it then recompress using tgz (the forum only allows zip and cpanel wants gz)
    3. go to your Web Host Manager
    4. go to Universal Theme Manager > Login Manage Themes
    5. click browse and upload the new theme archive (whm will expand it for you)
    6. now go to Tweak Settings in the first item under Display (should be the very first thing) change the default "cpanel" value to the name of the theme you just uploaded "smoothnclean"
    7. save your settings


    you might need to quit your broswer and dump your cache to see the changes
    Oh thanks for creating a tutorial. I've been bogged down with work and holidays and just now getting back to this. I have tried everything to create a tgz file but nothing seems to work. How do you do this on windows? I've tried 7zip, gzip, tug. For some reason I just can't get these to work. So I can't get past that step.

  12. #12
    Member
    Join Date
    Dec 2007
    Posts
    10

    Default Didn't work

    Ok finally got tugzip to work. So I followed your tutorial, cleared my cookies and still cpanel login/logout screen looks the same.

    Plus, I am constantly getting a popup login window. How do I get it to use just the webpage login and not popup a loging window?

    Thanks

  13. #13
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by labeach View Post
    ...

    Plus, I am constantly getting a popup login window. How do I get it to use just the webpage login and not popup a loging window?

    Thanks
    In WHM -> Server Configuration -> Tweak Settings -> System for the setting Disable Http Authentication for cPanel/WebMail/WHM Logins (forces cookie authentication) check the checkbox for that setting then at the bottom of that page click save. This disables the popup box (HTTP Authentication).

  14. #14
    Member
    Join Date
    Dec 2007
    Posts
    10

    Default http vs cookie

    Thanks! I am sorry I am new to most of the admin stuff. Is it more secure to have http or cookie authentication? Thanks

  15. #15
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by labeach View Post
    Thanks! I am sorry I am new to most of the admin stuff. Is it more secure to have http or cookie authentication? Thanks
    HTTP authentication is more secure.

Page 1 of 2 12 LastLast

Similar Threads

  1. Webmail login page and customize webmail server installation
    By patelbhavin8008 in forum E-mail Discussions
    Replies: 2
    Last Post: 05-25-2011, 05:22 AM
  2. Customize starting page
    By GoWilkes in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 11-29-2010, 05:12 AM
  3. how to customize the new login page ?
    By Radio_Head in forum Themes and Branding
    Replies: 18
    Last Post: 11-30-2004, 12:36 AM
  4. how to customize the new login page
    By Radio_Head in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 06-17-2004, 03:24 AM
  5. How to customize the Servicestatus page ?
    By Radio_Head in forum Themes and Branding
    Replies: 23
    Last Post: 05-05-2003, 09:55 PM