In last video, we fixed one of the user interface issues that we had with the
people who are logging into this Web site.
So now when you scroll down at the bottom of the screen, and you click the
Login button, and you log in to the Web site, let's say Joe, with a Password of 123456,
you're logged in, and you have a nice little Log out button located over here on
the side, which will stay with you throughout the Web site.
But the flip side is, once you log in to the Web site, you wind up on this page,
and then you have to go to the For Distributors link up here on the top.
Wouldn't it be nice if the For Distributors link just happened to come up
while you were logged in?
Well, that's actually completely possible.
You just have to configure it.
So what I'm going to do is I'm going to go here to the For Distributors page,
and I'm going to go up here to the top of my screen, and I'm going to copy the
URL that happens to appear there right now;
so Ctrl or Command+C to copy that URL.
Now, we are working locally on our computer that's here in front of us.
This URL is going to change after we launch this Web site,
and so what that means is, when we launch the Web site, as part of our testing
process, and we log in, we're going to need to make sure that we remember to
change this URL after we've launched this Web site on a Web host.
I'll show you how to do that in our Web hosting video that will be coming
later in the course,
but don't forget that this is something that you're going to have to do. All right.
So, I've copied the URL,
and now I'm just going to go ahead and log out of the Web site.
I'm going to come to the back-end of the Web site.
And now what I'm going to do is I'm going to find my menu item for the login.
So under Menus, that's in the Footer Menu, here is my Login link.
I'm going to click on that, and here inside of this Login, under Advanced
Options, I have some additional things that I can set;
most notably, my Login Redirect.
So, once you've logged in to the Web site, where should people be redirected to?
Well, they should be redirected to the distributor's page.
So I'm going to Ctrl or Command+V to paste this URL right here into this blank.
There are some other things that I can configure here.
For example, I can show a login description; something like Welcome
distributors! Log in to see your special area of our website, and that text will
show up on top of that login on the Web page.
I can also specify a Login Image.
I can also change the way the redirect is happening for logout.
So, when you log out of the Web site, where are you going to go?
But remember, this interface here for Logout Redirect assumes that you've
scrolled to the bottom of the page, clicked on the word Login in order for this
redirect information to occur.
If you want to change the redirect information associated with the Log out
button that we just created, that will be in the module.
These have very similar screens with the module.
You'll have to go there, and configure that to go to a different screen on log out.
And if you're going to configure the log out, you should probably configure
both this one, and the module, just to make sure that they're both going to the
same places, and that you have the same behavior no matter which log out button you click.
But for right now, I'm just worried about the Login, and there is only one way
to log in, and that is through the Login link down at the bottom of the screen.
So I'm going to go ahead and say Save & Close.
And now when I go back to front-end of my Web site, I am just going to scroll on
down, and click on my Login link one more time.
So you see here that I have my text that appears here at the top; Welcome
distributors! Log in to see your special area of the website.
So, that's additional text you can put there.
And when I log in as Joe, 123456, and Login, I'm immediately directed to the
For Distributors page.
Isn't that awesome?
I don't have to see that information about modifying my account anymore, and I
see my For Distributors link at the top of the page. Oh!
But I don't see my editing my account information anymore. Oh no!
What if you do want to still offer the option of editing your
account information?
Well, you can add that link to your menu bar,
and that is a very straightforward thing to do as well.
So all I need to do now is if I go to Menus, and I go to my English menu; I'm
going to add a new menu item.
And my Menu Item Type, when I click the Select button, under the User Manager, will
be at Edit User Profile.
And that will still give me the interface, so that Joe would be able to go in,
and change his Password for sure; change his User Name if I'm permitting that.
We'll give this a title of Edit your profile, and I can put this at the root
of the Web site, at the same level as For Distributors, or I could make it
sub-navigation. I'm just going to leave it up there at the top of the page,
and be sure to set my Language to English, and be sure to set the Access to Registered;
very, very important.
And if I go ahead and say Save & Close, now when I come back to the front-end of
the Web site, and I refresh, I'm still logged in,
I have a link here to edit my profile.
When I click that, I can see my profile information.
I can change my Password, change my Email Address, and make these other updates
that are very important.
And so that might be a good thing to do,
if you're going to improve the user experience, so that you can't edit your
profile the moment that you log in, you wind up going to a specific page on the
Web site, I think that that's an improvement, then you should definitely still
provide a way that people can edit their profile.
Otherwise, you're going to be bombarded with requests that say, well, my e-mail
address has changed, or I need to change my password, and you're the one who is
going to have to do all of that stuff.
So by providing this Edit your profile link, you're allowing your users to go
ahead and make those changes and you're reducing your own workload. Just fewer
things you have to do to maintain this Web site.