On 4/29/06, Ed Pigg <[EMAIL PROTECTED]> wrote:
If I want to replace the built-in login form I need a method that
will generate the html form correct? So in my base class do I create

sub login_box {

}

or do I create a separate login sub.

Looks like I am probably a little bit late for this one.  Sorry!

What you can do is create a runmode that generates a login HTML page.
Then just set the LOGIN_RUNMODE config parameter to tell the Authen
plugin to redirect to that runmode when a login is required.  You can
also provide an external URL through LOGIN_URL, which could be used to
send a user to a central authentication website.

Before you try that though, have a look at the latest version of the
Authen plugin which I uploaded last week.  I have made the login box
much more configurable, so hopefully you will not have to create your
own custom one.  You should be able to make it look however you like
by changing the stylesheet.  Or if you just want to change the colour,
that is really easy now.

If you find you still need to create your own custom login box, let me
know why, and I'll see if I can make some more customizations.

Cheers and sorry for the late reply,

Cees

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to