Framer Tutorial: Creating Like Counters Using a No-Code Database

  Рет қаралды 4,957

Framer University

Framer University

Күн бұрын

Пікірлер: 83
@willianmatiola
@willianmatiola 9 ай бұрын
First, thank you so much for this component and tutorial! Secondly, I'd like to add this information for those who might be having the same problem I had: If you are using the like button inside a card component that it is inside a list of cards, your like button will show the same amount for all of them. To fix that, open the like button component and in the "button_id" create a variable. Then, you change the id from 01 to a different number for each card you have. I hope it helps!
@framer.university
@framer.university 9 ай бұрын
Thanks William! Yes this is a perfect solution to set unique IDs even if the component is within a component. :)
@willianmatiola
@willianmatiola 7 ай бұрын
@Concepttopia If you have 10 cards, after transforming the "button_id" in a variable, you start numbering each one by the order you want, like 1, 2,3,4,5... The goal is having each card within a card list with its own id, so the plugin interpret them separately.
@yaizidoro4373
@yaizidoro4373 10 ай бұрын
I’m doing a project with this right now! Thanks for the support and for everything you do for the Framer community!
@framer.university
@framer.university 10 ай бұрын
Love to hear it! Thanks for the kind words :)
@SamAnthonyDesign
@SamAnthonyDesign 10 ай бұрын
This is such a powerful tool. Thank you so much for sharing!
@framer.university
@framer.university 10 ай бұрын
My pleasure! :)
@FloNocode
@FloNocode 10 ай бұрын
You are a Gift for framer community !
@framer.university
@framer.university 10 ай бұрын
Appreciate your support :)
@dansallai
@dansallai 8 ай бұрын
This is great, thanks Nandi! I could totally replicate the workings of this. I'm counting not pages but games however, so the ability to name each button is super useful because I have multiple on each page. One thing is that the interface of Supabase has changed a little bit compared to what you show and I wasn't sure I'm doing it right. There is some wizard thing going on now, but anyway I could handle it. I've never heard of Supabase so thanks for that as well, it seems like I will be able to connect a bunch of other things to it as I scale my site.
@aqema
@aqema 3 ай бұрын
Hi, just wanted to notify you that supabase has changed it's Policies section and we can't create the same policies from the templates anymore, thus the like button doesn't work now. Can you make an update video? I'll stay subscribed ;)
@Rikoshet124
@Rikoshet124 Ай бұрын
Hey, did you find a solution?
@itsOlaOlowo
@itsOlaOlowo 10 ай бұрын
This is really powerful. Thanks. Please could you do a tutorial or share a resource on how to search within a list, maybe a list of names.
@framer.university
@framer.university 10 ай бұрын
Thanks! What exactly you want to achieve and did you not find success with the built in search component from the insert panel?
@itsOlaOlowo
@itsOlaOlowo 10 ай бұрын
@@framer.university for instance, on a page with a list of registered participants, I want to be able to search for and filter names through a search bar.
@itsOlaOlowo
@itsOlaOlowo 10 ай бұрын
@@framer.university what I'm trying to achieve is pull data from database (e.g airtable or google sheets) into Framer CMS so I can be able to search the list directly in Framer
@funkymonk8240
@funkymonk8240 2 ай бұрын
Legendary stuff
@framer.university
@framer.university 2 ай бұрын
Appreciate youuu🫶🫶
@CoilFYZX
@CoilFYZX 10 ай бұрын
Hey, I hate to be a heel, but I believe it's stopped working. The connection to the database still works great but the counter and variant are no longer changing. Any suggestions please?
@framer.university
@framer.university 10 ай бұрын
Pls try going to assets panel and click the update button next to the Like Counter component. Framer made an update that broke the comp. Should be fixed.
@CoilFYZX
@CoilFYZX 10 ай бұрын
@@framer.university This is why you’re the best! Thanks so much!
@CoilFYZX
@CoilFYZX 10 ай бұрын
@@framer.university Thank you so much! That worked!
@Skar-w4v
@Skar-w4v Ай бұрын
Hey Nandi I would also like to know in how many more ways can we make use of the database integration in framer, it would be a lot of help if you can make some more videos related to these. Btw very helpful video😇
@ShayneCuffy
@ShayneCuffy 10 ай бұрын
So helpful as always. Could this be used to save positions in a database? For example if I use the drag effect, move an element and then have that final position is stored in the db so the next visitor would see the change and could make their.
@framer.university
@framer.university 10 ай бұрын
Maybe yes. But that would require a completely different code component
@fekryaiad
@fekryaiad 10 ай бұрын
Thanks buddy! great tutorial
@framer.university
@framer.university 10 ай бұрын
Glad it helped!
@ZUTHINA
@ZUTHINA 4 ай бұрын
Thanks for the tutorial ! Is there a limit for button IDs? I'm going to make a page with let say 30 like buttons or more for an event, wondering if there would be any issues
@youngboikt
@youngboikt 5 ай бұрын
How would I turn it into a progress bar? I love the concept of live interaction but want to change the visual aspect of it
@alvinniza
@alvinniza 10 ай бұрын
Thanks for sharing! If I use it on blog post via cms, do I need to change each button-id?
@framer.university
@framer.university 10 ай бұрын
You only need to use unique IDs when adding multiple buttons to the same page on your site. Remember, we created a "slug" column in the database. This means that even if you apply the same ID to two buttons on separate pages, they'll be counted individually. In summary: it's quite easy to utilize the button on CMS detail pages. Just make sure to set unique IDs, particularly if you need a few more like buttons on the same CMS detail or any other page.
@alvinniza
@alvinniza 10 ай бұрын
@@framer.university Got it! I really appreciate what you’ve done to our community by keep sharing fantastic resources!
@suthinaworks
@suthinaworks 4 ай бұрын
Thank you so much! But I have problem finding the svg component in my framer project, also I cannot right click and copy the svg icons from Figma, and is there any way to scale down the buttons for phone version ? Thanks
@Superoutman
@Superoutman 3 ай бұрын
Thank you for your work and tutorials, which have added powerful features to my website! 👍Additionally, I would like to ask you a question. When using this component, it displays normally on the computer, but it doesn't show on mobile phones and tablets. What could be the reason for this (I noticed your demo page has the same issue)?
@Superoutman
@Superoutman 3 ай бұрын
After testing, it turns out that only my computer can see the component, while others cannot. Although others cannot see the component button, there are request records in the Supabase logs. I'm not very technically inclined and don't know where the problem lies.
@Superoutman
@Superoutman 3 ай бұрын
In the end, I found out that it was my network issue causing the problem; actually, it was running normally!
@biyedesign3346
@biyedesign3346 6 ай бұрын
Hello, currently I'm working on spin the wheel project for my ecommerce. The concept is customer could redeem voucher so they can spin the wheel and get the rewards. My question is how can I custom code and integrate with my API and database for the customers data and rewards? Or is there any simple way to achieve this in framer? Because I like the way framer handle all the animation. Thank you
@framer.university
@framer.university 6 ай бұрын
You can do this by writing a code component with React Typescript.
@IsaacLotz
@IsaacLotz 9 ай бұрын
Thanks so much for this awesome component, would love to implement it on my site. I have followed the directions to a tee but when I connect the component it doesn't display anything. I've tried reloading Framer/the project a few times. Do you have any other solutions to this issue? Thanks!!
@nerdalert1980
@nerdalert1980 8 ай бұрын
How did you code the thing to use components?
@Rikoshet124
@Rikoshet124 Ай бұрын
Hi, is there a way to reset the like button daily or weekly for example if we want to make a weekly competition about which product will get the most likes will get featured on the first page of a website etc? Also the button isn't memorising the likes, after refreshing the page all the likes disappear, any idea how to fix that? Thanks in advance, Nandi!
@guapshonen
@guapshonen 10 ай бұрын
Hi Nandi. How does this work with cms pages. Will you need to create multiple tables on supabase for each CMS pages?
@framer.university
@framer.university 10 ай бұрын
No. You just place the button on the CMS detail pages and they will count separately.
@guapshonen
@guapshonen 10 ай бұрын
@@framer.university awesome. Thanks
@1-jf5nf
@1-jf5nf 6 ай бұрын
hello? I'm using your components very well. I copied this component and completed setting it up with supabase, but I found a problem and would like to contact you. I inserted the component within the cms page and it is visible on tablets, smartphones, and laptops. However, on a desktop connected via LAN cable, the components below do not appear and nothing is displayed. The example homepage or remix file you uploaded does not appear only on the desktop connected via LAN. I don't think it's a problem with my account. I think there may be a problem with the component settings themselves or with supabase settings. Is there any solution?
@framer.university
@framer.university 6 ай бұрын
Can you send a preview or remix link?
@false-prophet-abc
@false-prophet-abc 8 ай бұрын
Thanks for the video. One question, please. At 12:40, the counter shows 1. If you click it again, I believe it will become 2. So, one user can make multiple likes. Would it be possible to set up so that one user can make only 1 like?
@framer.university
@framer.university 8 ай бұрын
One user can only make one likes, don’t worry.
@RobZ-u3r
@RobZ-u3r 10 ай бұрын
This is the first tutorial that didn't work for me from your channel. I published the website, and tried to click on the button, but the cursor doesn't appear, just a text cursor.
@framer.university
@framer.university 10 ай бұрын
Can you send the link to the site? Maybe also a remix link?
@CoilFYZX
@CoilFYZX 10 ай бұрын
@@framer.university Mine stopped working. It worked yesterday...but now neither the counter nor the variant change. I appreciate this tool, I just want to say that. I'm totally grateful for the free resources.
@michaeltan7848
@michaeltan7848 10 ай бұрын
Nandi, you should have a tutorial teaching how to build a multilingual website without using the locale feature. At $40 a month is daylight robbery. There must be another to do this without breaking the bank., like build pages with a different language with translation from ChatGPT, and then building the links on the menu bar
@AtomicPixels
@AtomicPixels 10 ай бұрын
What’s $40?
@Gigczan
@Gigczan 8 ай бұрын
Hey Nandi, can you make a tutorial on how to setup authentication with supabase, for a membership site with gated content?
@framer.university
@framer.university 8 ай бұрын
for that I'd use something like Outseta: www.outseta.com/guides/how-to-build-a-membership-site-with-outseta-framer or FramerAuth: framerauth.com/
@glagraphy6533
@glagraphy6533 9 ай бұрын
is there any database of any shopping platform to do a e-commerce shop with a shopping cart?
@framer.university
@framer.university 9 ай бұрын
You can integrate lemomsqueezy checkout or use Shopify with framercommerce.com
@garo_narsisian
@garo_narsisian 5 ай бұрын
Such a great video, but on the websites, the count doesn't really work, when I click on one website the count goes up, but on a different website, when I click the count goes down instead of going up and it's the liked variant instead of the default variant. Does anyone have a solution?
@framer.university
@framer.university 5 ай бұрын
You have unique button ID for each button comp?
@christoanto5968
@christoanto5968 7 ай бұрын
I had a problem when i click the like button, the count increases but the color and word changes to liked is not working why..?
@suthinaworks
@suthinaworks 4 ай бұрын
same here, have you figured out how to solve it ?
@sashoib
@sashoib 10 ай бұрын
Will this work for CMS Blog pages?
@framer.university
@framer.university 10 ай бұрын
Yes.
@roxytherotty5811
@roxytherotty5811 9 ай бұрын
i am not able to find the like counter in the assets plz help
@framer.university
@framer.university 9 ай бұрын
framer.university/resources/real-like-button-component-for-framer Here it is!
@MarcC696
@MarcC696 10 ай бұрын
Incredible powerfull component, Thanks a lot! I have a problem that I don't know why it happens. If I press the button on one device, turns to "Liked" variant with number 1, but when I go to press this button with another device, the button appears as "Liked" and it doesn't stack the likes, it turns to "Default" variant with 0 likes. The columns on Supabase are added correctly and also the URL and Keys. The component have the Default variant and Liked variant and the Number Text with the Amount Variable. I don't know how to fix it :(
@framer.university
@framer.university 10 ай бұрын
It has spam protection so users from the same ip address can only like 1x on a button. Ask your friends to check and like it.
@1-jf5nf
@1-jf5nf 6 ай бұрын
When I leave the remix link here, my comment keeps getting deleted. Can I have your email address? However, when the site below provided by Framer University is connected via LAN cable, only a black screen and remix and copy components are displayed, and the components are not visible. If I connect your laptop to Wi-Fi in the same place, I can see like buttons.
@G.GroupInvest
@G.GroupInvest 10 ай бұрын
Nice
@framer.university
@framer.university 10 ай бұрын
thanks :)
@yaizidoro4373
@yaizidoro4373 10 ай бұрын
Hi, i have tried and i have some problems. I set the table in Supabase and copy the URL, Key, Table, choose my component and set the ID. But the button is not showing up. I have tried with your component but not work at all. The button only come visible when i connect with your button component and reconnect in my button component. :s
@framer.university
@framer.university 10 ай бұрын
Try reloading the project if this happens.
@yaizidoro4373
@yaizidoro4373 10 ай бұрын
Sorry, I already found the problem, I think it's some kind of bug. When I connect the button, it immediately doesn't appear, I have to disconnect and connect again for it to appear. I did this and it worked.
@framer.university
@framer.university 10 ай бұрын
I’m glad it works now. You can also try reloading the project in these cases.
@-_SamsulHadi
@-_SamsulHadi 10 ай бұрын
🔥🔥🔥
@BistaAmod
@BistaAmod 10 ай бұрын
I always wonder why meningful video had less viewrs,.
@framer.university
@framer.university 10 ай бұрын
I also wonder. Gotta keep pushing and improving.
@AtomicPixels
@AtomicPixels 10 ай бұрын
To be completely honest it’s hard to grasp the logic in appeal as I’m simply using someone else’s custom code to avoid coding but costing me still complex (indirect native mimicking via signing up for yet another external product just to accomplish a single task that will guarantee only harm to the perception of the designer). Social cues are not only subjectively ranked in societal classes but also heavily linked to negative emotional tiggers of the associated person. In other words, making a single number go up once looks like a lot of effort to beg for acceptance using passive social influence as a bragging right. Be my guest, but maybe do this with an emote or something relevant to a story being told l ;)
@pxllfx3207
@pxllfx3207 10 ай бұрын
Do you have discord? If yes than I want to join
@framer.university
@framer.university 10 ай бұрын
I don’t have discord.
@T-me3lk
@T-me3lk 10 ай бұрын
1. I used the remix website you provided to add a CMS and insert a like button into it. Then I directly published the website and tested the results. 2. The like button updates synchronously when previewing the website. 3. However, after updating the website and clicking on the live site, the like button does not synchronize across different pages with the same CMS. Can you advise me on what to do next? 😭😭😭
@framer.university
@framer.university 10 ай бұрын
Buttons will count separately on each page.
Framer for Beginners: Avoid The #1 Rookie Mistake
16:47
Framer University
Рет қаралды 73 М.
I Taught Framer Website Animations to a Subscriber
34:40
Framer University
Рет қаралды 6 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Make Any Framer Component with ChatGPT
23:16
Framer University
Рет қаралды 35 М.
My Friends Didn’t Believe I Made This!
23:53
Framer University
Рет қаралды 13 М.
"BEST C++ CODE ever written" // Code Review
27:38
The Cherno
Рет қаралды 51 М.
Common Framer Mistakes (And How to Avoid Them)
16:45
Framer University
Рет қаралды 1,6 М.
The Secret to Making Any Component in Framer with AI (2025 Guide)
31:03
Framer University
Рет қаралды 4,8 М.
Learn Ollama in 15 Minutes - Run LLM Models Locally for FREE
14:02
Tech With Tim
Рет қаралды 14 М.
Framer Tutorial: Creating Custom Web Cursors (No-Code)
23:55
Framer University
Рет қаралды 9 М.
Send data from Framer to Google Sheet (Custom Form)
11:34
AM Design
Рет қаралды 14 М.
The only video you need to learn Framer scroll animations...
30:01
Framer University
Рет қаралды 58 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН