Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
The next part of our Login form process is building a page. So, once the user logs in, they're taken to this homepage, so to speak, for the Members area, and we do have a page that is created that we can use. We can also build a new one. I have this template.php page available within your site files. And let me just show you that page. It's simply a blank page. It does have some text on the page here that says, Registration Form. That's just to show you that it has a heading on the page. We do have a Members homepage over here.
Let's take a look at the Members homepage. The idea is, users, once they log in, will actually be taken to this page. But this Template page was used as a base to create these Members pages. So I'll close up Template, and our homepage is set up. So, let me kind of go through the flow of this section. The idea is, any users on our website will fill out the registration form. When they click this button, they're registered as a guest because of this Hidden Form field. This information is inserted into the log end database table, right here, and they are added as new user who is a guest.
When that occurs, they are taken out to our Login page to actually log in. The Registration page inserts their information into the database, it does not actually log them in. Now, we have a Login Spry page, here, there's actually two Login pages, this login has no form validation on it. The Login Spry is an incomplete page, at least my version is.
So that the completed version of Login Spry is this one. And if you don't have this Login Spry completed. As long as you completed the plain Login Spry, you're fine. If you do not have this completed version, you can see mine is not complete. I don't have the Password field. You can go out to the Login Spry Completed page in your Chapter 6 course files. And within those course files, there is this Login Spry completed.
What I'm going to do is use this completed version. Do a Save As and save this completed version as My Final Version of Login. So, Login Spry is right here. I'm going to save this Login Spry Completed as Login. I'll do a Save on that. So now ,my Login is now including Spry. That's our form validation.
So, the user registers. They're taken to the Login page. The user logs in. The spry makes sure that the correct information is entered inside those two fields. They click Login. They're logged in and sent over to the Members Area page. So that's kind of the flow of this process at this point. So this is where we're going to be sending them. We will be sending them to the members home area after login. And that page is all set up for us.
So, the Login Landing page, as I call it, where do they land when they are officially logged in. This is where they're going to come to before we actually set up the functionality for a Register and Login. We do need to get these pages created, and I just want to make you aware of the flow of this process at this point based on the pages within our website.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 101483 Viewers
61 Video lessons · 88250 Viewers
71 Video lessons · 72117 Viewers
56 Video lessons · 103881 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.