[Mailman-Users] Customizing the admin login page...

Grant Taylor gtaylor at riverviewtech.net
Thu Jan 8 21:42:17 CET 2009


On 01/08/09 14:16, Mark Sapiro wrote:
> The admlogin.html template. And if you're going to do it, you may also
> want to do the private.html template for private archive login.

Thank you.  That did the trick.

> See the FAQ at <http://wiki.list.org/x/jYA9> for information on the
> proper places to put edited versions of these templates so they won't
> be overwritten in an upgrade.

*nod*

Pursuant to that advice, I copied templates/en/admlogin.html to 
templates/site/en/admlogin.html and made the following changes.  Note, I 
did not previously have the site specific files, do not make the copy if 
you already have custom files or you will loose your customizations. 
Don't forget to make sure that Mailman has permissions to the custom 
files and the directories they are in.

  - Added a the following onLoad to the page's BODY tag.

       onLoad="document.LoginForm.adminpw.focus()"

  - Added the following name to the page's FORM tag.

       NAME="LoginForm"

Thus when the page load, it executes the onLoad JavaScript statement and 
sets the focus on the password input box.  :)



Grant. . . .


P.S.  Tip of the hat for the way that Mailman has split up the locations 
that you can make customizations.


More information about the Mailman-Users mailing list