How to create a user-item likes system that exports to Airtable and shows saved content on dashboards? Answered
please i need help with this video #20 - Save & Unsave CMS Items v0.3i'm not sure where to put the code, the classes are a bit confusing
i would have loved to see the structure of the page especially how you set up the buttons
also how do i display the saved items on a different page like the users dashboard. any assistance would be highly appreciated
--------
Admin: There is an updated script for this - #106 - Liking & Saving CMS Items
--------
Comments
7 comments
Hey Sidney! I'd recommend cloning the demo project to check out how the page structure is 🙂
https://www.memberstack.com/scripts/liking-saving-cms-items
Julian Galluzzo would this code work the same on a CMS page as it would on a CMS collection
Julian Galluzzo I’ll try this and get back to you. Thanks
It’s all attribute based so it should work the same as long as the right attributes are used!
And no problem 😀
Hey team!
I'm using Memberscript #106 to save the liked cms items. Is there any change to export that data to Airtable to know which user liked which item?
Hey Rubén Alejos Dasilva, I am not sure if going via custom code approach to update Airtable would be secure enough. However, in case you have some automations which sync Memberstack and Airtable at regular intervals via WhaleSync / Make / Zapier, you could try syncing the member JSON in Airtable which will have the liked items ID and you could possibly figure out a way to make sense of the liked items in a readable way using some formula / other field in the base.
Ohh nice, I didn't know it's stored in the Memberstack JSON. Thanks, I will try to find a way
Please sign in to leave a comment.