I’m trying to use CMS Combine with CMS Filter and Static to Collection List.
When adding in the ‘Static to Collection List’ library, the Combined collection except for the first one is hidden. On top of that, I’m looking to limit to only 3 items after the combined list.
Also, what do you mean by limiting the collection to only 3 items after the combined list? I believe you can set this up natively in Webflow before combining the lists
Basically I want to limit the list after CMS Combine runs to only 3 items. Also want to mention that the Static element is hidden as it would hide majority of the rendered list when attributes are connected.
Here is the page I want to replicate but using CMS Combine to allow users to choose which CMS item to feature.
Will the selection of items be handled by CMS Filter? If so we can add some JS to the CMS Filter callback to add a hide class to all but the first 3 items in the list.
I’m not quite sure I 100% understand what you are trying to do could you record a quick loom?
Hey @info2, there is no native way of limiting the items shown in a collection list. A hacky solution for this could be to incorporate CMS Load and paginate the list to 3 items per page then hide the nav buttons. This would allow you to filter and sort the list with Attributes and still only have 3 items shown on the first page.
Another way to do this is to add some code that hides the rest of the items. Let me know which approach you’d like to go with and once we have it setup we can tackle the Static element issue.