Add the fs-cmsfilter-element:list attribute to the CMS Items list
Make sure that all the categories Filter UI elements are in one form with the attribute fs-cmsfilter-element:filters
Add the fs-cmsfilter-field:IDENTIFIER attribute to both the categories text (not the checkbox but the checkbow text) and the category text in the cms items
I hope this makes sense.
Ideally add your read-only link
Does not work,so there must be a mistake. Is value referring to the class of the collection list, som if I rename from “collection list” to “blogpost” do I need to write “blogpost” in the value for smsfilter-field?
I see now, that the cmsfilter-element:filters ony works for form elements as you write…howeever I am not sure it works for my setup.
What I want is to be able to pick multiple categories/filters. For that I do not think the radio button would work.
Ideally it would be so, that you are able to pick several categories within the same segment/question for instance (“with kids”, “simple lliving”) . It should den show you guides “with kids” AND “simple living” (both criterias met)
From another segment/question names “country”, you can pick one or more for instance “Norway” (If you pick more than one country, for instance “Norway and Denmark” it should show you guides from Norway OR Denmark (either criteria met)
SO - If you pick “with kids”, “Simply” living" (from one segment) and then “Norway” from another segment, it shows you all the CMS items for Norway, where you can go with kids AND the trip is simple living (like tenting in the nature).
Not sure if it makes sence, I have tried to illustrate it her.
If easier it could also work, that it shows CMS items (guides) for either of the selected category. So in the examples: all guides with “simple living”, “with kids” and “norway” (independent of each other)
i add the checkbox in the form that has the attributes fs-cmsfilter-element with value filters
to make it easier, i create a new collection. The items in this collection are all the texts i want to filter with
i add a checkbox in the collection and set the checkbox text label to the name of the collection item, then set the attribute fs-cmsfilter-field with value “filter” or any identifier, i use the same identifier for both filter category
Wow, thanks a lot for making this :) I just have a quick view and will look mere into it in the week. Thanks for being such a kind soul :)
Do you think finsweet filter could be used for filtering with several option like this:
What country do you want to go to? (visitor chooses Norway)
How do you wanne travel (visitor choosen hiking)
How do you prefer to sleep (visitor chooses tent).
The the guides that are show, are only those which have all three criterias. So the guide has to be in norway AND be hiking AND be in tent.
Makes sence? Just like we know it from clothing brands like this page: https://www.zalando.dk/toej/. Where you can choose size, brand etc at it only show for instance:
T-shirt in sizeM from Adidas (however I don’t want dropdown but checkbox)