View Full Version : Login Page
tesseract
12-04-2003, 09:51 AM
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
ProWebUK
12-04-2003, 10:49 AM
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
DirectAdmin Support
12-04-2003, 11:27 AM
That's something I've been putting off... until now. I've added it to the versions system. The format of the file might change for release, so stay posted.
http://www.directadmin.com/features.php?id=250
John
ceotiben
12-07-2003, 01:28 PM
I put in the login.html, and still doesn't see the new login.
Tim.
ProWebUK
12-07-2003, 01:48 PM
Try restarting DirectAdmin if you have not done so already:
service directadmin restart
Chris
ceotiben
12-07-2003, 02:05 PM
Now my DA is not working when I go to :2222
Tim.
ProWebUK
12-07-2003, 02:13 PM
Do you get any errors when restarting?
also check /var/log/directadmin/error.log for any errors coming from DirectAdmin.
Chris
ceotiben
12-07-2003, 02:29 PM
Chris, I fix the DA login. But my login.html still doesn't work.
Tim.
ProWebUK
12-07-2003, 02:32 PM
You do have the required version of directadmin? 1.204
Chris
ceotiben
12-07-2003, 02:41 PM
WORK !!!, I think version 1.20.4 does it.
Thanks.
ProWebUK
12-07-2003, 02:48 PM
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
tesseract
12-07-2003, 10:03 PM
:) :) :) :) :)
markokaup
05-24-2008, 04:12 PM
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..
ozgurerdogan
08-07-2008, 10:16 PM
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
jlasman
08-09-2008, 10:50 PM
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
pchulpje_net
08-11-2008, 09:46 AM
@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
iceuk626
08-15-2008, 05:56 PM
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'>
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.