Hello, friend, welcome back.
In a previous video from our contact base, we successfully insert our contact message and here we save
it in our database.
Right.
So now in this video, I want to do and to take out all that data and to take all this data.
And on the visible lead in our admin panel that seem to the admin panel, that is our contact message.
So if you want to visible it, what exactly you have to do.
So first of all, that is our sidebar right into the sidebar here.
We have to dial out noise, do that work.
So go to our admin.
That means that is our Twitter pages and that is our layout's.
So right now, I want to work into the admin.
So that is our admin.
Right.
So with that being, if you go to that body and that is that is our admin sidebar.
So here I want to do want to create the route I copied.
So that is actually our contact message here.
And we don't need another massive drought.
The admin message, that will be the admin message.
So now we have to do we have to create this out.
Now, go to our Web browser out here.
That is our admin contact page.
So better here.
I want to create this out.
So that will be the game.
I told them to get out of the admin message and name it as an admin and the message and then in our
contact controller, I want to create this method.
So here this will be as the admin message I copied and now that is our out.
So that is are out as this one as the admin message.
Right.
So now I want to do I want to create the method as an admin message.
OK, that will be as admin message I and look at this method in our contact controller.
So now go to our contact controller and the contact controller here.
I want to do want to add to the public and then function and then that will be our method name and that
is our method.
So that this method, first of all, on the return and return on The View pays.
So here I want to do under the load of the view.
Right.
So it is a view based means I if you go to our admin, so that is our admin, so do the admin.
There is a brand.
There is a contact.
So here I want to do that with our contacts between into the contrary.
I want to do want to create another space and the the of the message OK, message dot blade, the PSP.
So this type of that, that will be on the message box.
Uesugi just like our index, that means our correct contact in this.
Whether I copy everything from here and now in our message I save it.
OK, so here I posted so that will be extended.
Our admin admin master.
That is our admin section.
Perfect.
So friend, I hope you already know what exactly the things you have to do.
So right now there is a contact page.
So here we will need this.
That will be our admin message.
That will be the admin message, the step above the main.
And then there is the message, OK, that means the message and then the the on the bottom.
And here we don't need this actually.
So that is our all.
Let me.
So no, I don't want to actually visible all of our message.
OK, that means the message that that will be visible and here.
So first of all, I want to load this piece.
So that is our contact controller.
So I have created a the in our wish place.
I created this place that is in our admin into the admin that is our contact and that is our base.
That is our message page to now to download it as an admin and then the contact folder and then our
final name as the message.
So that is are finally perfect right now, which will be loaded on here.
Right.
So also I want to get all the data.
I want to get all the data from our this table that is our contact from also for the contact form I
have already and get this specific data.
So if you want to display the radar contact form.
Right.
So now with this contact form and to get this data, so I take one of the variable as a message messages.
And then I with this contact form, I want to get all data.
That means that all that I want to get.
So I get all the data from a contact form and get the things with this variable.
And here in our message page, I want to pass it on the positives with the contact, with the contact
I want to do and to pass this message.
Right.
So that will be our message.
Perfect.
So now we get this data with these messages.
Now, if you want the visibility and visibility with this.
So first of all, I want to update our message page.
So here I want to display the name.
The name.
OK, that will be the name that will be as a.
Name, email, subject, and the message I made with the name email, email and then subsect
and then another one on to take as a message.
OK, that will be as a message.
And also here we have to do we have to add that action.
S. I only want to need that the like button.
We don't need this edit button, so that will be the delay button.
So from here we passed all the dot, dot, dot, dot, dot with the messages.
Right.
So now I take that data with these messages and I made me do the math.
So with this math nine to do and the visible all that our data.
So with this mass on the visible and that data that I copied.
So that will be our database, all the filename.
So that will name as a name for the name.
Right.
And then for the email that is the email for the subject that is subject and that is for the message.
That is the message.
So make sure your spelling is correct.
So that is all that our database will name as a name email subject and the message.
Right.
So that is our message will be visible and then there is actually on the button.
So that's all you have to do, right.
So that's all.
Now let's check this out.
If everything OK, it should be this basically as a all and now go here, go to our admin refresh.
And now go to our contact and reserve contact message.
So now showing as an undefined variable icon in our message, played out PSP.
So.
You can see that to the ID, so here you are also we have to we have to update this, Heidi, right.
That is actually our masses idea.
And then that will be the message delivered and that will be the message delivered.
Perfect.
Nothing like, as I say, will again not go here, refreshing it.
Yeah.
You can see it's perfectly now loaded our admin message.
So right in our database that have the two message sunglasses now with our name, email address, the
subject and the message and the like button.
So here we don't need our ad button.
That means the ad contact.
We don't need this.
We also don't need this message.
I remove it, OK?
I remove it rather than I better take it.
When you actually click as a Dilek, then you can show some of the direct message on here.
OK, so right now this button will be not needed.
I remove this button, click and save all.
So now if you go here, refresh it.
Perfect.
So now gasifier is not showing as the admin message and all that our message.
So whatever the things you know, we will put on particular that area, everything he will.
We get this data right.
So that is our subject.
That is a message.
If you not get the same message so you can see something as your message and successfully, if you go
to that dashboard, click as a refresh.
Yeah, there is another one is visible.
Right.
So I hope you enjoy it very much.
And also here you can add some of the basic mission.
How can I add that resignation?
I think you know about it.
So that is your task to make it OK.
So Delek functionality is very easy.
I discussed a lot of the time with the same concept.
OK, so just take one of the concept and just elected from here that was selected from this position.
So friend here we successfully complete that part.
So your next video I want to discuss about most interactive one, the part like here, if you want to
add your profile, if you want to add your profile, all that ablate information right now, that is
the demo.
Right.
But right now, I'm already logged in, so I am already logged in from this position.
I have already scored some Autoblog out.
So here that is, if I can actually display you're all that admin user is already logged in.
This user name will be visible.
Email address only visible if you want to change that made me feel to change that email address.
How can change it and also how can change that password reset option.
So that is very much interactive on the part two, step by step everything.
I will show you the live example.
So thanks for watching.
I'll see you in the next video.