Add login to banner of all pages
How do I add a small login form to the banner of existing pages?
Nick
How do I add a small login form to the banner of existing pages?
Nick
You can make the html form for it first, then once you create the form you can just add it into the html code on the page wherever you would like to see it. If you want it to work the same as another login you have you will need to make it post to the same login page that has the login server behaviors on it.
You need to get the form created first though. If you need any help post back with your login page and the page that you would like to add a small version to and I could try to create an example for you.
So I gather that I have to have it post to the real LogIn page. The real one redirects to a page called announce.php, I would like the login form on all the pages to redirect to the announce.php page and n ot the LogIn.php page. This is not high security, I'm thinking of using a generic username in a hidden field and having them only use their password. Will this work?
Nick
It is easiest to have the login form post to the login page, but you can add in the Authenticate user server behavior to any page. So you can have this server behavior on the announce page and have the small login form post to this page.
I would not suggest having only a password to login, this is not very secure. How do you know to match up the password? You will need to know who the user is and the password to check on both of these fields. If you are assuming the username and just matching the password you could have a problem if more than one user has the same password. I would suggest keeping it traditional and using a username and password.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.