hi
i try to add likes button to a post, i add the icon and created the databases,and set it to sometimes visible, but i don’t have the current post option, is that something i need to do to associate the icon with the post ?
Hi @idan645 & welcome to the Adalo community!
There are two ways to do this - first, you can put the “like” button on a list and associate it with the post. The second way is to have a post page with the data “current post” and have the button on that page.
Either way, if set up properly the data should be there. Also, I’d recommend you use a toggle instead of an icon. Have a relationship to users called “likes”, add the current user when they “like” a post to the collection, remove them if they unlike it. To show the number of likes, use a count.
Best
Erik
hi, i did what you said and still not have current post option, as you see at picture( Imgur: The magic of the Internet )
