Hello, friend, welcome back.
In a previous video, we successfully created the model, we have created one controller and also migrated
onto the table and also get all the data and visible it on here.
So that is our index based.
That is our home about index based.
So no one to do and insert this data.
Right.
So if you want to insert this data here, I have already added on the button as an add about.
So here I want to do when you click in particular, add about page.
That means that here I want to add on the out, I want to load one of the page Ridvan.
So now let's do that work.
So if you understand that concept, I think you already know what exactly things we have to do.
So now go to our index based the index based here.
Here you can see that cloud at about.
So now, first of all, I have to do I have to add one of the round.
So now I want to do that on the round as they add about like Namee, does it add about so into this
add about base here.
We have to only load on the page.
So now we have to create our list out.
So you have to create this output or were brought here.
I copied, I copied and now I want to do and pasted.
So I have already created one of the controller as they about controller controller.
And I want to do I want to add it as a that is actually our name.
So our name will be as the add about.
I copy that aloud and then our out will be as an add about Redfearn and then in our that it will be
our you allowed you all will be as an add add about and also to create one of the methode as they add
about that will be as they add about now to create this, add about methode in our about controller.
So now go to our add about Condola into the controller here after this.
OK, after this.
And to create another one that will be as a public and then function and then our method name as we
add about right.
So here I have created another method since this method.
What exactly we have to do, we have to simply load that is we have to return one of the base.
Right.
For adding our list about all the details so I don't return.
So that will be the return and view.
And with the view what exactly we have to do here, we have to create one of The View based Ridvan.
So I want to do in our index, that means that is our home sweet home to the home.
I have already created one of the index right now into the home folder.
I want to create another one as I create the create dot bleb dot PSP.
So that will be our create.
OK, so now I want to add this space so that will be in our admin and then the home and then the create.
So I have created one of the base as a create.
So now simply I load this space.
That means right now when you click eat in particular this space that this button, it will be written,
it is to be directly dissolved as the add about that.
That is our add about and into this add about they have created one controller into the controller.
I have the method it will be adapted to our this method.
That means that is actually the method and this method area.
I return one of the view base that will be in our admin home and the create.
Right.
So now if you click the Savol and now if you go and refresh and there is an aspect to this again, OK,
you can see again, I miss it so that it is a single column.
You can also join us on that or click and save all seem to the single code here.
You have to pass it.
Right.
So maybe when I select the selected nuclear refresh.
Yes, perfect.
So now if you click on the ad about you can see friend now successfully load our page page, I have
already added that will create space.
Right.
So now we have to update our discrete page.
So this will be like a slider in the slider, the result page I have also created.
So right now I'm to copy everything from here.
OK, this will be just like that same.
I copy everything from here that a from slider and in our home create here I posted.
So that would be our section perfect.
And there is are not been extended or admin master and is our admin so will be as a create about our
home about ok that will be as a create home about and then where here we have to create one of the layout
for this one and then our field, our field will be actually one of the title field because of all here.
We have to insert one of the title and the short description and the long description.
Right.
There is a tree field.
So that will be on the title.
That will be one of that description.
And also here, we don't need this file.
Right?
So here I remove.
Finally, I want to do want to take another one, I want to take another one for our description, I
it so here I want to turn to add our daughter's name, then it's better rather than you can actually
change it.
As for your demands.
So that will be our title.
I named one of the field name as a title.
And for this one, I want to make a change.
I want to make it as a short description, OK?
I want to make it as a name before I knew it as a description.
Now I to add that as a description, that means your description and the long description.
So friendly here.
If you want to change it, you can actually change it, right?
No, actually I named it at the same name as part of its name.
Right.
So there's also no that will be our about title.
About title.
About a short description.
And then that will be as a long description.
OK, that will be a long discussion.
So that's all we all did our field.
Perfect.
Now if you click on the save all and now if you go and now if you refresh it perfect.
You can see it's not successfully lowered our discrete page that we create homepage.
That will be our about title.
That will be the short description.
That will be as a long description.
And after that I want to do a duplicate the submit.
So here this that I want to insert it in this database table.
Right.
So here I don't want to work in this form.
So that is actually what the form here.
I have added all that name on name.
So I also added that name under his own name.
Right.
Perfect.
So there is also another form into the form here.
We have to update this action.
So that will be on the right action.
I name it as a store about OK, name it as a story about and also will as a matter will be as the.
Right now there have no images.
So here we don't need this.
So I removed that our agency type.
Right.
So I knew actually instead any images then will be needed so that no one is perfect and that method
will be as a post method.
So now I want to create this out.
I want to create this starting out with broad support abroad and here I copied and passed it.
So first of all, I want to update that name.
Our name will be as a story about I copy it and now it will be as a story about Redford and also make
that show this out will be as opposed to.
Right.
So it will be as a post.
So I name it as opposed because of all here.
You can see from here we want to do want to insert this data so that the methodical the post method.
So now I want to add it.
So I also want to make it as a Mr iStore about it.
So I have to create the method as the store.
His story about.
So now I have to do I have to create this method, I have to create this method in our about controller
and now go to our about comptrollers.
So here I do want to create another one I create as a public public and then function and then our method
name as a store and at about.
Right.
So here we have to do we have to add it.
And also a little different when you actually pass any request here for the least method administrator
here, we have to add that request.
Right.
Remember?
So here it will be as request.
So that would be the request and the request.
So that will be a request and a request and after that here, what exactly you have to do if you want
to add some of the validation I have already discussed about that things with you, if you go to our
category into the category insert, maybe here you can see there are so if you want to add some of the
validation, you can add that validation rather than you can directly insert this data.
OK, so it depends on you.
So right now, I want to do want to add insult this data just like that same way.
So here we have two.
I want to learn to actually use that to look into arem.
So that is our model will be needed.
So with this model, so with this model here, I want to do want to insert this data.
So to insert this data.
Right.
So here, if you want to insert it, so here you have to do here you have to add all that, your field.
So right now in particular, that area, everything will be our database field, our database field
if you go that is the title field.
So I copy it and that will be the title into the single code here.
We have to add it.
Right.
So after that, that will be our request.
That means which request?
I actually pass it from our this base.
That means this all that filename right there to the tree field.
And here I have already put that same name.
If you go to our create, I have Damit as a name.
As a title name.
Right.
So now I want to do I want to add this.
That means with this request, with this request to pass our this title.
I hope you remember that part.
And also I have to do the same things for our test of this field, whether I copied and pasted.
So that will be our database, will name our database, will name another one as a short description.
And then here that will be the short description and also in the request.
I name the same name, I name it as a short description and their long description right now and now
to take it as a short description, that will be our database name, our database name as a long description
I copied.
And here it will be a long description than already existed or requested one as the same name as a long
description.
So now I want to do and be added as a long description.
Perfect.
Right.
So after that, that means here we have to do we have to insert this data perfect.
Right.
So here it shall be inserted all that our data as a title, short description and the long description
also here, if you want to add that to your creator, that you can also add it.
So I have already discussed about the things with you.
There is also another I feel by default as a creator that.
Right.
So I also want to add this data.
So here F.A.A. that we have created that and then here I want to do and use that carbon.
So that will be the carbon and carbon now data.
So that will be applicable now.
Right.
And if you use that carbon also you have to we have to use it.
Right.
So here I want to do and use it use that is in our eliminate.
That means that illuminate.
So that is actually eliminate which are eliminated and eliminated.
And the support and then the support and then the carbon that will be our carbon.
So make sure you add these carbon.
OK.
So if you use that one and after that, at this point, this data will be inserted in our database below
and want to return one the base.
So that is the things I have already discussed about the things we do.
So that will be as a return and then redirect.
Return, redirect and the return lederach, I want to rule that out, because that means one of the
crowd pays to redirect.
So it's a return redirect to our at home base.
That means that Ziggler home about base.
So that is a clone of the road.
So I here I want to do want to pass it on here.
That is one is that will be inserted successfully to wait until later in space.
Right.
And with some of the message.
So I want to add that with with some of the messages of success.
I name it one of the ideas and one of the message you want visible only being visible is about inserted
successfully.
So this type of what the message is will be visible, right, and if you go to our about index based
upon that index page and make sure you add this part.
So here with this actually getting that our session, all the success, I need that message and then
our message will be visible.
Right.
I have already discussed about that things with you.
So here it will be written to our about in this space with some of the message perfect so far.
And that's all we have to do.
So that's all we have to do for a store.
This data and now this data should be insulted.
Now, let's check this out.
If you're not looking to save all.
So here I save all.
And you can see there is also shows on the air.
So you actually saw this error because of all here?
I'm using that semicolon.
So here you don't need to use anything to save all.
So now consistent or perfectly run.
So here, let's check this out.
If you go to our site and here I refresh it.
So now what to do and to add some Dabao titles for this purpose, I use this one.
OK, I use this one definitely step up on the same name.
And here I make it as one for understanding that that is actually our appropriate data.
That will be our short description.
I add that description or description and then a long description will be this one.
I copy it.
And here that will be a long description.
I also want to make it as a one.
OK, so that is all about detailed description and a long description.
So here I already set up that part and when this data will be inserted, it should be done today toward
about about index page.
Right.
So now let's check this out if you going to submit.
Yes, you can see, friend, it's not successfully don't to our home page.
I was about inside it successfully and there is a serial number, the title, the description that is
a long description and the edit and the pattern so far in here.
I have already complete this portion.
Like if you go to a database, you can see so successfully inserted all the data and if you go to our
dismantled, you can see there is a home method.
So before I have already get all the data that the latest data and get that things into this variable
and I pass it into the index base and into the index page, I have already showed this data.
You can see I have already shown this data as about so it is about the display, the title and the short
description.
I display that long description.
So for the reasons every data is now successfully visible on here, I hope for very much clear to you.
So here I have already completed this part and now there is another one of the action that eddied and
the Delek right.
So here I have already declared that part so that the edit button.
So with this about I access our I.D., that means here, if you want to edit it, you have to edit it
with a specific one of the ID.
So that is actually our ID.
Right.
So now I have already updated it and also the result that you are and for the Delek that is also on
Ndidi, we have to deal with the specific one of the idea, and that is what you are.
So right now we have to do we have to edit it so you can edit it out and updated to Better in the next
video.
I'll show you that things with a live example.
So thanks for watching and I'll see you in the next video.