Login Page

tesseract

New member
Joined
Dec 4, 2003
Messages
2
I want to customize the look of the initial DA Login page for all user levels ---

So how do I find the proper file(s) to modify
 
If i remember correctly the login form has been hard coded into DirectAdmin.

If you wish to put a login form on your website, or anywhere else there are guides with the correct code listed in the DirectAdmin new server guide (Link in my sig)

Chris
 
Doesn't work

I put in the login.html, and still doesn't see the new login.

Tim.
 
Try restarting DirectAdmin if you have not done so already:

service directadmin restart

Chris
 
Do you get any errors when restarting?

also check /var/log/directadmin/error.log for any errors coming from DirectAdmin.

Chris
 
You do have the required version of directadmin? 1.204

Chris
 
The feature was only released with that latest version would be the reason to it not working previously, glad it is now working for you :)

Chris
 
Ok this is very old thread but I don't want to create new one if here is already this subject.

Anyway, I have some problems here whit that login page. I created login.html in /usr/local/directadmin/templates/ folder.

Now, all I got is white page!! I've trying to restart directadmin and deleted that login.html to solve this problem but nothing - nothing but that white page..

Could someone hit me whit some suggestions to solve this one!?


Thanks.

//EDIT:

Ok, I solved this any.. Just looking some log files and notice that my IP was added into ip_blacklist for too many times failed login.. hehe..

Thanks..
 
Last edited:
I am trying to put some images into login page which those images are placed in templates's image folder. I could make it once but does not display those images for.
So which way to go :
1. include images like: <img src="/IMG_SKIN_IMAGE_NAME">
2. or usual way <img src="/images/imagename.jpg">

Both does not seems to be work or I do something wrong.

If I call the images directlt from source like <img src="http://www.domain.com/imagename.jpg"> it displays but I do not want to do that as I want all images to be in same place (template's image folder)

Thanks
 
Generally you should use a path from the current path.

So if the .html file is in public_html and the images file is in public_html/images, you should have something like <img src="images/imagename.jpg">

If the .html file in public_html/subdirectory, and the images file is in public_html/images, you should have something like <img src="../images/imagename.jpg">.

Of course I'm not an expert in .html programming; I'd love to see someone else respond.

Jeff
 
@jeffe you have right.

to explain it a bit further:

when your .html is in public_html/subdir and you image folder is in public_html/images and you give your image the path /images/image.jpg the browser actualy goes searching for it in the path : public_html/subdir/images and not in public_html/images.

so make sure that the browser is looking in the right folder you most do what jeff say's.

Greet,
Jeroenvd
 
OK ...

Any images you need for the login page go in login_images folder (/usr/local/directadmin/data/templates/login_images)

you can link to the images in your login.html like this:
<img src='images/yourimage.gif'>
 
Back
Top