Hi, I'm using a repeater to create a comment section, I want each site member to be able to leave a "like" on whatever comment the choose if they want to. How do I achieve that? Whatever help will be much appreciated.
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
hello did you found a way to do it ?
I really don't know how to achieve that. Please help. Thanx.
Yes, I'm trying to get a result like wix blog, a "like" button with number count.
Hello Manny.
You can add button into repeaters container, then add $w('#likeBtn).onClick() inside of
$w('#repeater').onItemReady ($w, itemData, index) ... Each button will have different context.
//example $w('#repeater').onItemReady( ($w, itemData, index)=>{ $w('#likeBtn').onClick(event=>{ ///do stuff with ItemData } });
Hi Manny,
Do you want to get a result like wix blog a like button with number count ?