Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
Login form to multi AM?

 

 


isac
User

Oct 4, 2002, 11:54 AM

Post #1 of 3 (2147 views)
Shortcut
Login form to multi AM? Can't Post

Hi,

I want to include a login form in my website, for users can post.
What code do I need if I have 3 Article Manager installed and redirect users to a specific program?

"I'm think a pull down menu with the three options would be fine but I don't now how to do."

(Pull down) + (name_field) + (Password_field) + (Button_go)

Thanks,
Isac


Damon
Staff / Moderator


Oct 4, 2002, 4:40 PM

Post #2 of 3 (2131 views)
Shortcut
Re: [isac] Login form to multi AM? [In reply to] Can't Post

Hi Isac,

Here is the code to add to one of your pages to have a choice of multiple Article Managers to login to:


<form name="loginform" method=post action="" onsubmit="this.action=myurl.options[myurl.selectedIndex].value;">



Username: <input type="text" name="id"><Br>
Password: <input type="password" name="pw"><br>
Login to: &nbsp;&nbsp;
<input type=hidden value=1 name=login>
<select name="myurl" size="1">
<option value="http://www.yoursite.com/cgi-bin/artman1/exec/admin.cgi">ArtMan 1</option>
<option value="http://www.yoursite.com/cgi-bin/artman2/exec/admin.cgi">ArtMan 2</option>
<option value="http://www.yoursite.com/cgi-bin/artman3/exec/admin.cgi">ArtMan 3</option>
</select>

<input type="submit" value="Login ">





Change the option values to reflect the URLs to each of your Article Manager logins.

I hope that helps.

--------------------------------------------------- 
Cheers
Damon Edis
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/


isac
User

Oct 5, 2002, 8:19 AM

Post #3 of 3 (2115 views)
Shortcut
Re: [Damon] Login form to multi AM? [In reply to] Can't Post

Thanks Damon

And we need this </form> at the end Wink


(This post was edited by isac on Oct 6, 2002, 6:38 AM)