Hello, friend, welcome back.
In a previous video, we successfully created some on the table that means our flowing table and our
user profile table and also created the glasses and the pool table.
So now I want to do, if you like, the logout and now interlocking with our user, that means I put
that name as a Karzai and then you do me one, two, three, four, five players login.
Now we consider the our home base.
So here I want to do want to create one of the base for our this user.
OK, so I have already created that our edit profiles and I wanted to create another paste here.
I want to load another page for our this user.
So that will be our user profile page.
So if you want to create it like here right now, we don't need this.
I remove everything from here and now in our app logging into the app logging if you go to that view.
So I want to do want to create another function after this.
After this, I want to create another function.
I named as a Dave and then I name it as a profile.
So this step up, one of the functions I want to create, this will be parsed that request.
Right.
And also will be as a lagging indicator.
That means if you want to access this profile, this user must have to log in.
And I want to do and to load on the page.
That means the return and with the setton and the render.
So with this return, I want to do in the past one of the requests and then also to load one of the
pace that means here it should be a load, one of the base.
That means in our mind, if you go to our app logging, seem to the app logging area to create all the
new file, and I name it as user, I name it as user dot as HTML.
OK, so here I want to do and load out this space that with this template base.
So that will be in our app logging into the app logging area.
I want to access our user dot estimator and right now I don't have any doubt about that, that our context
that we don't know the context.
I want to pass our dictionary.
I make that as an empty right now.
OK, so now we have to do we have to work in our user today's HTML.
So now go to our user and here will be a first of all, I want to add all that are essential things.
OK, so if you go to our profile like there is a song, the title, and then the guitar gives the form,
but I copy everything, OK, I copy everything.
And then I pasted and then also I want to load our body blog that will be our body of law will be needed
and also to want to edit that means I want to and our body block and block.
Right.
And also even to have some of the CSO for the cassettes I have already declared on the end of the block.
If you go to our neighbor and the neighbor, you can see that is actually our Sears's block.
Better to do than to copy it.
That will be the as a Sunday school block.
So now here I am doing the Lord, our discuses block of a friend so far.
Access this user.
We have to do we have to create that you are to do on the creator of the wall in our app logging into
the app logging.
If you go to that you also know to want to create another referral for access.
These users I name it actually as a profile.
OK, so we have the profile and the view that we see in our app logging views.
I have created one of the function.
I have created the function name as a profile.
So now I name it as a profile.
OK, and also we always the profile, so that will be our profile.
You warrell.
So now we can actually use that our link.
That means for our DC maze.
I want to put that link when it should be click on here.
It should be the key to our D profile piece.
OK, so that is in our neighbor.
That means if you go to our neighbor that is already part of this damul into the neighbor area.
I loaded out this image.
Right?
So that is our updated database image and that is our default image.
So here, consider the lower head.
If I want to do want to add our you model in particular, that area.
So that will be as you are.
Well, and here I want to do I want to load our You model that will be in our app logging and then our
profile.
I name it as an app logging and the app logging area.
That is our name, that is our pop name as a profile.
Now I name it as a profile.
Right.
But I don't want to copy it and also want to make that for our default one.
It will be the same.
That means our app logging and the profile.
So now if you click on the Savol, I click on the save.
Also notes will be loaded our this user Dodie's demo right now, if you want to put on the H1 tag,
that means that this is profile or user profile.
OK, this type of data on tag I added.
And now if you click on the Save All and now refresh it.
Now, click on here, yes, you can see it's redacted or accounts profile, and that is our text as
a this is our user profile piece, but our title is not visible because of what?
I didn't pass any title right here.
You can say load that title, but I didn't pass any title from our view that is our profile.
So better in a context we are going to do and to pass that title.
OK, pass the title.
Our title will be as a user profile.
So it will be displayed our this user profile.
No click as a save all.
And now if you refresh it.
Now is not showing our user profile title perfect.
So now what to do and to design our disposition, that means our profile page.
So if you want to work with this, that is our user dot e-mail.
And that is our blog.
Right.
So now here I want to remove it.
So I have to do I have to work in our main body blog area to the body blog area.
I want to do undertake one of the before I take off the day when I pulled of the rule that we saw on
the bootstrap.
I want to add some of the class that may sound bad of the column.
OK, so here I take another Dave and I just name it as a call and it will be the call s.m.
OK, call some I make as a four.
That will be our one, Dave.
And also I want to do another take another Dave.
So we as a call estimate, that means in total it will be as a 12.
Right.
So that is are for column and the eight column suited for Comedia.
I want to do I want to visible our this profile.
So here, as I told you before, that actually the two type of condition when it will be as a default,
one that will be display our default image, and when this user upload an image, then our uploaded
immediately visible.
Right.
So that is the same condition I have already declared in our network.
So right now, I want to do, you know, from one neighbor for one, everybody can see that exactly
our same condition now.
And to do and I copy it, I copy the same condition.
And here in our user, in our call s M four area here, I passed it.
So shall we display?
If they have an image, we display our database image and then it will be displayed our default image
rather than it should be displayed or before fully perfect.
So here we don't need to put any link.
So better I remove that link.
That means our riffling.
OK, so I put that remove this link.
So that is a link.
I remove it and also I remove it from here.
I remove that Ahadi fleeing on from here.
OK, that means that is actually our image.
So here we don't need this, I remove it or if I remove it and then also from here after that we both
of this and before I use that image as wide as a very small size.
So I don't want to make that as a two to twenty and also still be as a twenty and better also and update
our database image as a 220.
OK, so now it should be visible to save all right, now, I have already uploaded that image that this
image should be visible.
Click refresh.
Yes, you can see.
That is our image is visible.
And also on to the on the display, our user details that our user name that means that is our Anadolu,
I call it as a call et so he to visible.
I want to take on the street tag and the street tag if you aren't visible.
So it will be our user right.
With this user and to access our user name, that means our name in our database will name as a user
name.
So now if you click disable and now if you refresh it.
Yes, you can see it's not perfectly visible.
That name.
That means right now I'm already logging with the Karzai.
So our Karzi username is visible.
And also here, if you want to visible that, how many post actually this user created, if you want
to display discount, you can also displayed and also you want to display how many people are how many
people this user flowing and also how many people this user are for.
So if you want to display all that can list, you can also display discount list.
OK, show you right now, first of all, here, here I want to do undertake another age for tag.
I take another for tag and I want to do I want to use that means our user and with this user if you
want to like if you go to our model, that means that is our app logging app logging model into the
app logging model.
That is our user, the user profile.
And also they have the following up on the floor and the following.
And then if you go to our post model in that most model, that is our post.
Right.
So this post auto that I put that relation with our user user class and this user class and related
name with the post.
So with this post you can actually get all that our this user data, OK, that this user pulls data.
So I want to do on display.
So that will be our relationship that the posts with this user.
I want to access our this post and if you want to display the count, that means how many posts actually
this user created you can display with this count.
So we discount function, you can displayed OK.
And so it should be displayed or this user count that with the post count.
And also if you want to do the same things for our floor and the following, you can also display I
show you like here I name it as easily as a post that means counterposed will be visible and also to
put on these spaces.
So in this table they have also one of the spaces code that will be at the end and and end BSP.
So that is actually what the space code I want to do on the pulse of the space.
I want to put all of this space and after this I want to display our users with this user.
I want to display our if you go to our model, that means that is our applying model.
So that is our floor.
So for the floor, I have already declared that our relation name with our user as a floor and the floor
right now to do want to display our floor, I copy it and now I want to display our floor.
So to be as a floor.
OK, so we have the floor and then I want to put another two of this space when I'm actually running
it, then everything will be more clear to you what exactly the things I did on here that will be in
space.
And after that is space.
I also want to display our flooring that this user flowing.
So I put the coalition name as a flying saucer.
We display our display account details so that we are flying and now and to make it as a count to be
as a count.
OK, and also for this floor, I want to on the display as a count, that means how many people actually
use their floors?
Should we display how many people this user actually following this count that are also visible.
OK.
And after that, I would want to make it as a floating display, as a flowing perfect.
Now, if you click the save all and now if you refresh it, yes, you can see it now showing us a zero
post, that means Karzai didn't create any post for the reasons he's actually showing us a zero post.
And then that is our zero flaw.
That means this user don't have any flaw and this user does not have any flowing right for the reasons
all that our data actually visible as a zero.
And also here, if you want to display more information, like if you go to our account in pays, OK,
if you go to our account, it pays Davis to have some of the pictures.
I have already displayed a picture if you want to display that data, but you can display the you can
if you want to display that website, Facebook, you can display so better.
I wanted to add another feel for our user profile user details so these details user might want to do
and the visible ID on here.
So who can do that work?
In our next video, I will show that things with a live example.
So thanks for watching.
I'll see you in the next video.