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.
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy: http://wiki.list.org/x/QIA9