Hello, friend.
Welcome back.
You know, previous video I have discussed about the things we do, how can the elected from here?
So that means solve directed from here to now.
If you click on the Delek, suits will be displayed at the scattergories of the electorate successful.
And here you can see see now save all the data in our trust list.
So now I want to do I want to change this election button here.
It will be as a permanent leader elected and also to add another button for the rest.
Or that means from here, if you install this category, then it will be used to read and at this in
our main category area.
So we can do that for doing this.
We have to work in all this list area that that is our index.
And here we have to update this button.
So now go to our index and index.
That is our task list.
You consider the task list passed into this party area that is our DILEK and it's not going to make
it not the editor to make it to the register.
OK, so it will be at the register and that will be as a permanent select.
So I make it as a elect.
That will be the parliament elect.
So for the registrar, I want to do want to create one of the what ifs silver, a Category three storm
that will be as a Category three storm and also to be updated with a specific one of the ideas.
So first of all, I want to complete that list or parts of it here.
We have to do we have to create this.
You are right.
And also that have one of the ideas.
Now go to our web brought here here after this.
I copy it.
I copied and here I passed it.
So now, first of all, we have to update that or what else our you all will be as a Category three
store and then I'd copy it and then it'll be as a category sorry category we store and then a specific
idea into the category controller.
I want to create one of them.
I totally store can name it as a list or so.
Now we have to do to create this user matter into the category controller.
Go to our category controller here after this.
I want to undo created.
So that will be the public and then functions and then our method name will be either yes or no.
I name it.
And also here we have to do we have to add our idea because of all from here.
I have also passed one of the ideas that is already stated.
I want to do want to add this hour this request to tidy Redfearn and then I want to do here here I take
multivariable, I take one of the variable of the dialect, whatever you want me to the Delek.
And then with our category as category models with this category model that I have also for the restored,
I have also the function as we trust.
That means here we have to add that function of the trust we trust.
So with this trashier, we have to do we have to add that our finder to actually find our specific requested
data.
So that will be our requested data as edelheit.
Right.
Let me distinguish the data.
So also there is another function as a restor because of all this will be used for it.
So I don't want to make it as a restor.
So that will be as a.
So that is all done their building function as a restore function and that is are we trust.
OK, so we trust if we find out a specific data and after that it will be restored this that is used
to this data and will be stored, then it will then redirect the same base.
I copied it and it'll be as a return the direct to the back page with the message as a Category three
storm.
OK, we store, we store successfully.
So this does the success, as I have already declared in the back way back, which means in our index
plays right into the index page here you can see I have already displayed.
So here you can see that our message that is only used to get any succession, that it should be displayed
this message.
Right.
So I have already discussed about that things with the friends and now we have to actually back this
up.
So if you back this, then everything should be very clear to you.
So right now here we successfully complete our this matter.
That means when any user in particular, that Edip S..
So this David Ariosto station is for our part.
Right.
So when it should be restored and used to be added to our category, we store with a specific idea in
the way that the category is totally died in the category controller.
I have created around method as a method that is in the category controller that the restore method.
So here I am using that category.
So with this category model, without trash, you still find that a specific idea and then you somebody
store it and also be restored to the display as they do the back base with the success message.
Perfect.
Now let's check this out.
If you click the save all.
And refresh it.
So now I want to do want to restore this original one, OK?
You can see into the category list I have already dissected for the reasons now into the trash that
happens in outer space.
So now here, if you because there is talk that there is option, what there is to restore.
Yes, you can see Fred now showing as a category to successfully and now that is actually deflected
from here, that is restored from here and now it's visible in our main category area and also to restore
the Halloweentown restore.
Yeah, you can see it.
Helwan is not visible and it's not totally gone from here.
So now I want to do want to deflect it.
That means from here I want to deflect it permanently.
OK.
That means you should be deflected from our database.
So how can do that one for doing this year?
We have to do we have to add another part.
Right.
So now go our index page into the index.
And that is our task.
Right.
So that is our task part into the trust part that is already Strathmerton.
And here also we have to do the same here.
Also, we have to add another one.
So better I copied.
That means here we have data that you are our you what it will be.
I name it as a be direct elect and category.
So padilha category, this type of one of the world we have to create.
And also we each will be selected with a specific one of the idea.
So now let's create this you to go to our Web Lord here.
I copied and pasted.
So this will be our this part.
You can see how much easier it is.
Actually, if you understand the core functionality, then a lot of it, just like as the water, as
I told you.
And you can see the result, you are ill.
And after that, that is actually the idea.
So here that is also one of the ideas.
Right.
So now I have to do to create another method.
I want to create another method into that category controller of the category controller area.
I want to create one the method as a dialect or dialect.
OK, and then maybe does a B there like that in the Palm Island dialect so that we have to do to create
this method in our category controller and go to our category controller here after this.
I want to do as a public and then function and then our method name as a P dialect.
So now I add the speed of light and it'll be just like the same as the like, take on the variable as
a dialect.
And then with this category model, like with this category model, I want to do I want to add that
is also another option.
I want to direct it from and selected from the test.
Right.
So there is also another function, as I told you, only trust that means here before we use that with
trash.
And now there is another one as on the test, because if you want to deflect any other family from the
trash, then you have to you do it with using that only OK only and then trash only test.
So with this only test I want to go on to also before the elected, we have to add that our specific
request at Idy.
So it's that way abroad.
They have also the we have to do we have to add this idea.
So here I want to do and add this idea, OK, that means here first of all, we find this idea.
So now I need to find we are using that in looking at what I am so sorry here we have to add that our
idea and then I want to want to add that for select.
OK, there is also another function of the four select, so that is all the building function.
And so that is a pretty simple sum.
The core function you have to remember.
OK, so when you actually practice it one or two times, then everything will be very catchy to you.
So that is of course the like.
So with this for select right down to the elected form with the test.
So now that's all you have to do.
And after that it's to be trendy.
Direct, which saw the message return redirect to the backspace and the back page with some of the success
messages.
A category permanently the elected.
You're permanently elected,
elected, so this step up, one of the masses with this, but that means permanent elected means it
will be totally deleted from the database.
OK, so here, that's all you have to defend.
Now, let's check this out.
I got to save all nogo here.
Refresh it.
Everything is looking great now we can register from here if you want to be elected permanently, men's
fashion.
Yes, you can see it's nothing in that category permanently elected, let me say it now is totally gone.
OK, so from here you can edit, see if you're deleted.
I can edit it because up that category category updated successfully.
And if you can get it elected now you can see the the hello.
And I was re-elected to that area.
So perfect.
So now it's related to that area and from here you can restore it.
So it's very historic.
Again, other than you can if you are elected directly, you can do it better than you can.
If you want to delete it permanently, then you can delete it permanently from here.
OK, so here we successfully complete everything for our category.
So if you want to add new one category, the add category, the category inside successfully so category
inserted successfully the category.
So everything we successfully complete.
So that is the main core functionality.
OK.
So right now you can know how to talk and update this data.
How can read this data from the database, how can they let it come to this area and also discuss about
that shot that in the South elect.
How can working with the software elect so here you successfully completed it?
So know, next video on to work with our undeterminable.
I want to add another menu for the brand and the brand I want to use on the emails.
OK, so here I didn't use any image.
So for the image related, every concept I want to clear with you.
OK, so how can create some of the image functionality, how can upload the multiple images at a time.
How can update this image.
That means when you update this image automatically, your self image will be replaced with a new image.
And when you delete this user data and also this image will be deleted from your store.
So how can manage everything image related, everything I will show you.
So for the reasons better, I want to add another menu for the banks.
How can working with the brand is step by step, everything?
I will show you with a live example.
So thanks for watching.
I'll see you in the next video.