July 16, 2004
Modifying the MT Login Screen
Whenever I frequent a web site that also requires me to login, I always appreciate the web site designer adding that small 'extra touch' by placing the cursor in the first field of the login form awaiting my tippy-tappy little fingers to enter my username and password. The same holds true of any application I use that requires a login. Movable Type just so happens to be one of those applications.
From the first time I logged in to the MT system, I became increasingly annoyed at the MT login screen because the interface designer had not taken into account that the only purpose of that screen is to log in, and perhaps it would be nice to place the user's cursor in the first field of the form.
My annoyance finally hit new levels, and I decided to do something about it. After a bit of research to determine which file would need to be edited, I went for it. Here's how you can do the same thing yourself.
The login screen is located in the “templates” directory of your MT installation. If you have used the default installation settings, your login screen template should be located at /public_html/cgi-bin/mt/cms/tmpl/. Navigate to that directory. Find the file called “login.tmpl,” and open it in your favorite text editor.
Look for the following code:
Modify the code as indicated.
<script>document.forms[0].username.focus()</script>
Save the updated version of login.tmpl back to it's original location on your web server. No rebuilding is required. (Yee haw!) Simply call up your MT as usual and enjoy the results!
Posted by Kasey on July 16, 2004 03:59 PM | Filed Under: MiscellaneousHi there!
Thanks for this useful tutorial! I linked to your site in a post on this subject.
The trackback ping doesn't seem to work though: it doesn't show up on your site.
Just wanted to let you know in case you were not aware of this yet!
This is really strange..
When I added my comments there were no trackbacks at all (the Movablog one was not there either) and now there are 2 of them after I posted my comment!
Strange because I really checked for 10 minutes (refreshing the screen all the time) to seee if the trackback showed up..
I'm having such a weird day..
It looks like the trackbacks don't show up untill someone posted a comment. Seems strange though..
Posted by: zeebeest on December 5, 2004 02:01 AMSorry: I meant Movalog. :-D *grin*
Posted by: zeebeest on December 5, 2004 02:03 AM
