User saving CMS items & appear in their MS account Completed
Hey peops. I'm building a MVP using webflow and memberstack. It will be similar in structure to reallygoodemails.com. I want the user to be able to save CMS items (lots of items) and have them appear in their MS account (and then be able to delete them again and see the number of items saved)
I initially tried using this Finsweet guide but theirs isn't saving CMS items so struggled to adapt it. https://finsweet.com/hacks-jquery/32
Also it appears they are storing items as metadata in MS, but I believe there's a character limit? So may not be suitable for me.
My options:
- use jetboost, but I'm not sure if I will run into limits
- pay someone to set this up for me
- do this myself but I'd need help (I'm a novice coder), for starters how to structure it, where to store the data, how to retrieve it etc.
So I guess I'm trying to figure out if using Webflow's CMS is a fool's errand first and foremost (I'm ok with the 10k limit). And then go from there.
Comments
9 comments
Updated Solution - #106 - Liking & Saving CMS Items
This script works with Finsweet's loadMore attributes, meaning you can use it with 100+ CMS items and it still loads next to instantly.
I'm using jetboost, but mainly cuz I have not seen a limit indicated on their website here.
I also only saw them imply that its limitless because they use the webflow API to run their search limits. However I am using it primarily for search functionality, so I'm not too sure about the other features having CMS item limits, though I imagine they'd be similar to the "search" function's limitations.
There's a sorting limit of 2k which would be an issue for me. Have just emailed them regarding other limits.
Well that’s unfortunate, I hope they plan to increase their limit.
Thanks for sharing your findings!
I’m hoping this is the best solution from Memberstack but they’ve not included how to display the saved items in one place - https://www.memberstack.com/scripts/like-unlike-cms-items
Yeah I came across this, thanks for pointing out. In the end I decided to implement my own solution with the help of GPT4. Looks like it's going to work.
No problem. Do you have any tips for displaying only ‘liked items’ for the user somewhere?
Yes - so for the liked items to display you need include a copy of the CMS on the page you want to display them. Then the logic is to hide all the items that haven't been liked and only display the ones that have. I'm storing the liked items in the member's JSON in MS, and retrieving them on their account page. This is the basic logic. It's how Jetboost and all the solutions I've seen work, it's just JB are saving the stored data in their own DB. Jetboost is actually a great solution, I would just use that. Despite all my work I'm still thinking about using them, mostly in case of future updates etc. If you want something custom there's no getting away from code, but I've been literally instructing GPT4 to write it one step at a time until I got something that was working. You need to have the logic clear in your mind first. I've just been using jQuery and making use of the CMS binding in custom attributes. Those 2 together are a powerful combo!
Yeah, just trying to avoid another monthly subscription to be honest - feels like something memberstack should be able to handle. Thanks for the headstart though Vanja.
Please sign in to leave a comment.