How to segment CMS collection items automatically per user in a static website dashboard? And how to stop page refreshes? Answered

Hi my website keeps refreshing even though I added the url in the gated content

Comments

11 comments

  • Comment author
    Chukwudi

    Hi there,

    There could be a script somewhere in your code that could be causing a loop. Kindly share the link to the webpage so I can look into it.

    1
  • Comment author
    Animal Tracks Productions

    Hi thank you! I found the issue was I didnt give it a URL for access dennied in Gated content

    1
  • Comment author
    Boggan null

    Hello friends! I am working with static pages with CMS, I want to know if I can segment the content to each user as it is done with custom fields and data-ms-member.

    I have a music distribution company.

    I created CMS collection for users, and CMS collection for releases, what I have to do is to align the release items to the user dashboard.

    I used to do it manually with the custom fields, but I want to do it with the CMS items because it allows me to keep adding items and have them automatically show up in the web app within the collection.

    Then I show all the status in the launch collections item, Release name, status, number of tracks and dates. Etc. and I segment it for each artist

    the operation is correct, I add an item and it is placed below as I want, BUT it is not respecting it by user, it does not make the filter.

    0
  • Comment author
    A J

    Hey Boggan null, how are you populating these CMS items and which page is this on?

    Since you mentioned you have cms collection for users, you could place this collection of releases in the Users template that webflow provides and have a filter condition in the webflow settings to check if the user is Current user and that should filter the releases based on the users you have assigned in the releases collection for each logged in user.

    0
  • Comment author
    Boggan null

    I have all the templates done, all connections to the items are perfect and work well,, but I'm not getting each item filtered for memberstack users.

    The problem is that the filter does not do it in the static pages, if I can do that I solve the problem.

    I feel that I am very close, inside webflow when I change items it filters me perfect but because I use the webflow filters. But when I go to public I see all the items together without filtering.

    0
  • Comment author
    A J

    Hey Boggan null, you could use the Users template page which gets automatically created for each user based on the users collection you have in the webflow CMS. So is there a reason for using static page instead?

    0
  • Comment author
    Boggan null

    Yes, with the templates the filters are perfect but how do I align all that to the user and that the whole ecosystem of the web app works?

    With the slug (member id) or what?

    I leave you the link:
    1) I built a CMS collection to separate with only the category “Artist” to build the User to distribute.

    2) Build the CMS template that shows you all the information of the music that the artist uploaded and sync it to the artist's category.

    3) Build the CMS template and repeat the same process as point 2 but showing the performance metrics of the tracks in the stores, and by release.

    4) Build the CMS template and repeat the same process as in point 2 and 3 adding the available balance for each user.

    In all of them try to divide the navigation by the category (reference) of the Artist.

    That's what I did, now I don't know what the logic is so that it can be as a private experience in the web app for each user session.

    https://preview.webflow.com/preview/indeephub-c0d4495a0a99a5f6ca364f0849219?utm_medium=preview_link&utm_source=designer&utm_content=indeephub-c0d4495a0a99a5f6ca364f0849219&preview=2ad05ffa084711b0a70a6dde73a01f15&pageId=66fc880b9393e1254b6b72be&itemId=66fdf194837d45b0ed7c321d&locale=en&workflow=preview

    0
  • Comment author
    A J

    Hey Boggan null, I can see that you have the element shown in screenshot above in the 'Tu Musicas' template page, if you want to ensure that the collection 'Tu Musicas' is filtered by the current user, you need to have the element 'En curso' inside the 'Artista Distribuidors' template page instead. When you place the element inside that template, you will have the option to filter the musicas collection by the current artista. You can place any element inside the artista template page when you want to ensure that it is user specific and not generic based on the Reference field you have setup.

    0
  • Comment author
    Boggan null

    the problem is that I have 3 tamplate sections

    “Your music”, ‘Metrics’ and ‘Profits’ and that's what I need to have.

    Maybe I need to have a horizontal bar “TAB” style and that will change the navigation by sections within the same template.

    0
  • Comment author
    A J

    Yes that should work for your use-case 👍

    0
  • Comment author
    Boggan null

    I made it bro!! 🙂 after hours with trysssss, i do the TABS in a only template and conect de login redirect with the memberstack id and works.!

    0

Please sign in to leave a comment.