Hello, friend, welcome back.
In a previous video I have discussed about that home brand.
So right now from here, you can updated your brand and how can visibility on your side?
I have already discussed about that.
Things with you and Higgins's not successfully visible are all the brands.
So now in this video, I want to make our dynamic that mhere this slider and to dynamic.
OK, so here, if you want to make it dynamic, how can do that work in this video?
I will show that things with a live example.
So friend, our positive will be just like that same.
OK like here that will want that you may feel will be needed.
We have to create one of the stable and also the database table that the images feel that are one the
title feel and short description feel.
So here I want to do I want to create one of the one of the tables.
If I look at this table, what exactly you have to do, you have to actually migrated and also you have
to create the model for this one.
So I have already discussed about that mean basic functionality right now.
We will apply it on here.
So I want to open it ACMD.
And now, first of all, I want to create one of the A model.
OK, so here, if you want to create that model as a be artisan and make and then model and I want to
create one of the models, the slider, OK, I'm going to run the slider model.
And also I want to make that one of the file of the enter notes will be created through of this file,
which will be created on the model and also to be created on the migration file.
Right.
So now I want to create it so you can see it's not created on the model of the successfully and there
is a migration file.
So now go to our tool of this file.
So here it will be, just like our brand right into the band.
We have already discussed about the things we do.
I have already discussed about that.
And you can see the brand that is actually the name that is our brand.
The major source will be just like that.
So here, first of all, I want to create our table.
So I have created the migration file.
So that is in our database.
That is migration.
And that is our Slider's.
Right.
So now I want to put that our filename so they have the filename will be needed as a three feel will
be needed.
Right now that is the images.
And there is a title and there is a short description.
So now I have to do undertake another one.
I take another one of the title.
Our database filename will be as a title and also another one I want to take.
Another one will be the description.
So this will be the description field and also another one for the image.
So name ID or database filename as an image.
And the title will be as a stream.
OK.
That will be the stream and that is our description.
Description will be actually large amount of the character.
So here make that I want to do and to make it as a text.
OK, that will be the text field.
So here we can actually add multiple text in pointing in particular that area and that will be added
stream like that image will be this.
And also you can make it as a knowledgeable then better I to do and to make it as an animal.
That means if this is empty then it will be OK.
So I make it as an animal.
OK, so that will be the animal.
I make it as an animal and an animal.
Perfect.
So that is our database table.
So now I want to do unduplicated save all.
And after that we have to do that is our routley.
So right now we don't need this.
And here after this I put this here I want to do and to make the decision to make that you have to run
as a PSP artisan and migrate.
Right.
So there is a PSP are and on the same on.
I have always used a lot of the time, if you can use it, until you can successfully created our this
table.
So if you go to our database and here if you go there is a new one is already considered is a slider.
So there is a slider there that we feel is the title description and the image is perfect.
So after that I want to do want to make our update, our model that with the model I have also created
on the model as a slider.
So here it will be just like our better brand that is will be the protectable you can see.
So now I copied.
And now here I want to go on to update that part in our slider after this, I posted so here that will
be a three field.
So I wanted to update that refilled.
So our one feel they have declared as a title that will be as a title.
That will be as a description.
And also, I want to make it as emails that will be the image, OK, and so make sure you updated your
all the in your models.
So I have created a model name as a slider.
Perfect.
And hopefully get a save.
All right.
Now, we don't need this model.
We don't need our this migration file.
OK, so perfect.
So now I want to do want to work for our disposition.
That means here I want to put on the link.
OK, so here if you put it, then automatically one of the pages will be loaded.
So if you want to put that.
So that is in our sidebar.
Now go to our sidebar, see the sidebar on the page on the new route.
I copy it.
So that is our sidebar.
So here on the line to clear out the new route, things will be as a home slider, so named as a home
dart, slider, whatever you want.
Right now, I make it as a home slider.
So now we have to be it.
We have to put it in our web, go to our Web lot.
So that is our category controller before I have already discussed about the things with you.
There is a middle class arbiter here, here on the created.
So I bought some of the note that will be as admin admin all throughout.
That would be the admin hold out.
So now here I want to do want to add one of the layout I copied and pasted so I name it all out will
be as a home slider.
I copy it.
So that will be our home slider.
And I hope you already know better.
I don't want to create another controller.
OK.
So if you want to create another controller, what exactly you have to do is create as a pop artist,
make controller and I want to create another the home controller.
OK, name it as a home controller, so far a home related, everything I want to say with a specific
this controller area.
So that is our baby, our son controller and I may meet as a home controller knuckleballers enter.
Clickers enter, no gassier controller is successfully created.
So now if you go.
Our controller, so that is our controller and that is our home controller, right?
So now, first of all, we have to add this controller.
I hope you remember that part in Lavallade that is actually to be changed.
So here we have to, first of all, use it.
I have to use this home controller.
So that is our home controller.
I copy it.
Now, I updated that home controller, so now we can actually access our controller.
So here.
And that is our admin, all right, so I updated our home controller into the home controller.
I want to create one of the methode and I just name it as a home slider.
OK, name it as a home slider.
So you will be as one of the pop me my own to declare the home and then the slider, and that will be
as a home slider.
So now I want to create this method of their home slider in our home controller.
So now go to our home controller.
And here I want to create this method so it will be the public and then function, how much easier it
is to conceive.
And if you already understand my all the previous elections, then I think it should be very much easy
to you.
So into the whole fun of what exactly I want to do, that is going to click as the home delivered,
then it will be loaded.
One of the beauties.
Right.
So here we have to return one of The View page.
So now I want to do I want to return on The View page.
So if you view page means here, I didn't have any view page so better I want to do that.
Is our admin center the admin.
I want to do better.
That is our brand I have created before.
So for the slide, I want to also create the new folder.
The better I name it as a slider, like a slider.
So I have the new folder as a slider and into the folder area.
I want to create the file and I just named me the index plate, not PSP like a friend.
So now here I want to actually return it.
That means into the home controller.
So we've done the director, the admin folder and then the slider slider folder and then the index.
Right.
So here I want to pass it.
That piece right now, this page will be loaded on here.
And also I want to do in particular, I know that I don't have any data.
So all of the data we'll get from here to actually pass it into the index base, you can also do that
work.
So for doing this here, what exactly you have to do?
I want to use does he look into.
So here I take one of the variable as a sliders, OK, I take it as sliders.
And then our model, Suheir, also we have to do we have to add our model.
Right.
So I have already created the model.
So now we have to use it use and here we have to add our app.
That means if the app folder I have created this model that is a controller model, so the apps and
the apps and then there are models folder and there is a word I have created as a slider.
Right.
So now I name it as a model, making models.
And then here I have to do I have to add our name as a slider.
So that will be our slider.
So make sure you updated that part so that the models folder there, the models folder, and there is
our slider model.
So that is our slider model.
Right.
So now with this slider, I want to get all the data.
So here with this slider, I want to get all the latest data.
So I have already discussed about the things with your friend.
That is our latest.
So latest all the data I want to do on to get it so and to get this little data.
OK, so I get all the data from our database and now I take these things with these variables and now
we can actually parse it.
We can pass it into the our index basically in the past.
We have to pass it with the compact.
Right.
So now I simply pass it with the compact.
I hope print is very much clear to you.
So right now I don't have any data.
So let alone insert some of the data, we'll get it and then I get it and take the things with this
variable.
And now I pass it into the index page and here I pass it with the compact to know and to don't update
our index.
That means that our index base so there is a slider in this space.
So this piece will be just like our brand actually.
OK, so from our brand.
So into the brand index.
So from the brand index I copy everything.
OK, I copy everything from this position and now here into the index, that piece in our slider index
here, I put it like a friend.
So here I have already updated everything that is our extended layout will be as a home at Bandmaster
under this section admin.
I hope you already remember that part.
So with this section, it should be loaded in our component area.
So that will be as all slider.
OK, that will be a little slider.
And for the slider that have the our all the actions and here it will be displayed all the tower.
Will that be the serial number.
It will be displayed.
The serial number itself will display, uh, there is a title description and the image is right.
So no one to do and that the slider title.
So we're here to change it.
It it'll be as a slider title.
OK, that will be the Slater title, and then they will be displayed the slightest description or description,
so that will be the description.
And then I want to display or add another one, another one in the image.
So shall we display that image?
And then I also shall be displayed that action.
And then also you have to do the same thing.
And you can see before we did that work for our brand.
So our concept will be just like the same stuff from our home controller.
I pass it right now as a slider's right now.
And to do and to change it as it will be, the sliders as a slider like that will be the slider.
And then if you want to display your index base, you can see that is actually the same things that
the brands and I want to update it as the sliders.
And now with this slider, with this slider on the visible, our filename, our filename, I have declared
as a title description and the image.
So that will be as a title.
So down to the want to display our title.
Right.
So first of all, there is the title and the description and for the description.
This will be the images.
So here I want to display that image.
Right.
So if you want to display the Dimmeys, that is another brand title for the new data for the our creator
that.
So here I don't want to visible that created that matter.
I remove it.
OK, so before I have all of this, because of all the things we do and now I take another TD and the
T will be with the slider on the visible, the description or description filename as a description.
I copy it.
That will be as a description.
Right.
And also that is our image.
So now with this slider, so with this slider, I want the visible arfin name or filename for the images
as Ismay's.
So now I copy it.
And now here I update our image.
Right.
And also that is the image.
Whiteside You can actually change it and then there are forty swing to the forehead.
You want to edit the elected you can direct it with the slider you have to add it would be slider.
That is our slider.
Right.
That means that our id so this tidy field also you have to deflect it with a specific one of these.
So which will be as a slider will be the slider eddied and the slider Dilek.
So here you have to create it.
Which little be just like our brand.
What exactly we did.
Right.
So in here that's all.
That's all there is also there is a parallel link.
So from here I didn't add the presentation.
So right now we don't want I don't want to use it.
I remove it from here.
If you want to use it you can actually use it.
OK, and that is our ad brand.
So right now, I want to do here there is a brand, Dimmeys, that means that brand so into the brand.
If you go into the brand, you can see there is also advantages here.
But right now, I don't want to visibilities like that where here I want to create another base for
the ad brand.
Then it's better actually.
So here I want to do I want to remove everything from here.
That is our table.
Dave, there's another call for.
So I don't want to remove it.
OK, so I want to remove this call, Dave.
I simply remove it.
Perfect, so now let's check this out.
If you look at the Savol.
And now, if you refresh it now, go towards Lider.
Yes, you can see it's not fully loaded.
Our the space that it was like the table they all slide that there is a that's like the title I better
make.
I want to do want to make it as a 12.
So before that was actually eight.
So I want to make it as a 12.
OK.
Now, let's check this out.
The save all.
Now, refresh it.
Yeah, now it's actually 12, so here I want to on to add one of the bottom, OK, here I want to add
on the button for the ads like that.
Then it'll be load another slider before I have loaded everything into the one same pace.
So I don't want to change it here if you change it.
So into the index here.
I want to do want to add another one.
OK, add one of the buttons.
So if you want to add that button, first of all, they want the ative and here I want to do that on
the bottom button and button class.
Button class I want to add and button class will be there within like I'd be done with the end primary
or in four I make it as in four right now and button them will be as the add slider.
So it'll be as the add slider.
OK, and then if you know you're going to save all the refresh.
So now here you can see there is another button is added as a add slider.
Right.
So no one to do also and add on that is three then better I take of the H three or two.
OK, I bigglesworth two as a whole slider because that is our home slider piece.
Now click it to save all.
Refresh it here on the regular home slider and the slider.
So after that, I want to do better.
I want to make it as a four.
OK, let me the four.
And then here I want to add one of the bracket.
I don't the bracket.
Sorry.
That will be the bracket I also want to add another one I want to add to this bracket then.
Now, let's check this out.
Is Google Savol actually designed?
It depends on you how much you actually want to look.
So that is our outside offense.
OK, so here you can to make it into the right side.
You can also make it into the right, Sabria.
So right now it's OK with me.
So now, Fred, I want to do if you click at the Adelaide area to be tended to our another base.
And from here I want to insert this hour this slide.
OK, so who can do that work?
But I want to continue this process.
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.