How to stop Memberstack CMS like button flickering issues and display user-specific saved items in dashboards? Answered

Post author
Ethan S

I followed the memberstack #20 video you made to the tee, and was able to implement CMS liking for page specific IDs. There are a few questions I have. The first is how can I disable the heart flickering when loading in?

Secondly, I'm trying to implement it in a user dashboard where logged in users can view their specific JSON saved items. Do you happen to know how I can go about doing this? Any help would be greatly appreciated. Thanks!

my website is rate-my-skillbridge.webflow.io

Comments

7 comments

  • Comment author
    Julian Galluzzo

    for the first question, it's a bit tough since the page needs a second to figure out what's going on - i find the best thing to do is mask the flicker by applying an animation in webflow which waits maybe 500ms to reveal the hearts

    as for the second, check this out! https://www.memberstack.com/scripts/filter-lists-based-on-element

    0
  • Comment author
    Ethan S

    This works, however I have roughly 1,600+ items. I've found that there is an issue with pagination for the items saved. For example, on the dashboard only the first 100 from a-c are shown, so you have to click next to get to page 13 to find the other saved item. Is there a work around?

    0
  • Comment author
    Julian Galluzzo

    i havent been able to figure one out yet, since you can't fetch individual items from the webflow cms 🤔

    0
  • Comment author
    Ethan S

    The easiest solution i've found is to create several div's containing limits of 100 container items

    so 17 divs on the dashboard page

    0
  • Comment author
    Julian Galluzzo

    yeahhh i've also resorted to that once - definitely not ideal though.. super resource heavy on the page

    0
  • Comment author
    Ethan S

    you're right. it's super laggy editing it.

    maybe jetboost is most ideal for this task?

    0
  • Comment author
    Julian Galluzzo

    yeah it might be, this memberscript is basically a simple and free version of the jetboost favoriting which works well for smaller use cases, but id also recommend jetboost for more intensive cases

    0

Please sign in to leave a comment.