+- +-

+-User

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

+-Stats ezBlock

Members
Total Members: 306
Latest: Himon kumar
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 136
Total Topics: 64
Most Online Today: 2
Most Online Ever: 2301
(Aug 16 2023, 19:19:24)
Users Online
Members: 0
Guests: 2
Total: 2

Post reply

Warning: this topic has not been posted in for at least 50 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Attach:
Help (Clear Attachment)
(more attachments)
Allowed file types: doc, gif, jpg, jpeg, mpg, pdf, png, txt, zip, rar, csv, xls, xlsx, docx, xlsm, psd, cpp, mp4, mp3, webm, ogg, webp, py
Restrictions: 4 per post, maximum total size 5120KB, maximum individual size 5120KB
Verification:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: asim km
« on: Sep 04 2023, 06:26:16 »

When the user clicks on this link, they will be redirected to a form filled with the details of the video. When they click Save, the changes are saved and they are returned to the home page. Step 1: Create an endpoint This step should be familiar to everyone. We'll create two new routes: Get and thus open . And add the following route: Note that here we have a route parameter, denoted by a colon . You can access the value of this parameter using . Other than that, the rest of the routing configuration is similar to what you saw before.

The only difference is that we use the collection's method to return only one object. The first parameter of this method is an object. Therefore, we are looking for documents that are Phone Number List equal to . Now, create another route: Note that we defined this route with . This handler will only be called when there is a request to this endpoint. We use the method of the collection object to update the document. The first parameter is the condition object. We try to update only documents that are equal to . The second parameter represents the value to be updated.



The rest is very simple. Step   we need to add a link to each video on the home page. Open and change as shown below: We use a binding expression to render the dynamic based on the video. Again, note that prefixed with for compatibility with older browsers. Now we need a view with a form to edit the video. However, we already have a view with a form. Therefore, it is better to reuse it. In , add the following new route: I haven't set up a controller for the route since we haven't created the controller yet. Let's review what we've done so far. Go back to your browser, go to the home page and make sure to refresh the page.

+-Recent Topics

交媒体上发帖那么 by Md Mahfuz
Dec 18 2023, 05:41:10

时它将自动显示您所有 by Khatija Khatun
Dec 17 2023, 06:29:11

因此神经网络能够理 by Bappy Bappy
Oct 18 2023, 07:53:56

Work with telephone service by Himon kumar
Sep 12 2023, 12:31:59

Sometimes it is better to outsource by Md Raihan
Sep 12 2023, 12:07:34

Creative output is completely by Md Mahfuz
Sep 12 2023, 10:39:27

Wayra apps that make our lives safer by anno rani
Sep 10 2023, 12:21:27

Encourage an end patient to contact by Arfan hossen
Sep 10 2023, 10:51:25

不过在使用的字幕 by Rubi Sultan
Sep 09 2023, 11:58:37

On digital platforms by Abdur Rouf
Sep 09 2023, 11:00:21