How can I filter a nested collection list on a Webflow People CMS collection page to only display quotes that are associated with the current person?
To filter a nested collection list on a Webflow People CMS collection page to only display quotes associated with the current person, you can follow these steps:
Access the Collection List Headings: Open the Webflow Designer and navigate to the page where you have implemented the nested collection list. Select the Collection List element that wraps the quotes and access the Collection List Settings.
Add a Filter: In the Collection List Settings panel, click on the "Filter" tab. Here, we will add a filter condition that will only display quotes associated with the current person.
Define the Filter Condition: Use the dropdown menus to specify the filter condition. Choose the field that relates to the association between the people and quotes collections. This field could be a reference field, a multi-reference field, or a plain text field that holds the person's name.
Set the Comparison: Define the comparison criteria based on your specific setup. For example, if you are using a reference field, select "is equal to" and then choose "Current Person" from the dynamic options.
Apply the Filter: Once you have defined the filter condition, click the "Apply" button to save your changes. The nested collection list will now only display quotes that are associated with the current person.
Preview and Publish: It's always a good idea to preview your changes using the Designer's preview mode. Make sure that the quotes are correctly filtered based on the current person. If everything looks good, publish the site for the changes to take effect on the live site.
By following these steps, you can easily filter a nested collection list on a Webflow People CMS collection page to only display quotes that are associated with the current person. This allows for a more personalized and targeted display of content.
Additional questions:
- How do I create a nested collection list in Webflow?
- Can I filter a collection list based on multiple criteria in Webflow?
- Is it possible to dynamically sort a collection list in Webflow based on specific fields?