On what page is the filter set up? Cant find it
CINEMATOGRAPHY PAGE! sorry for that!!! appreciate your help @krubens!
You should watch the video again Because you have mixed the category/filter collection and the content collection. I have made a video HERE correcting it. but I cant test it. Hopefully its correct. Its a bit back and forth, because I had to understand what you did…
@krubens I GOT IT TO WORK!!! your second vid was so helpful! i literally followed you move by move!!! awesome!! this community rocks!
Thanks for the great video and explanation on how to create this fab filter! I have couple of questions or requests if possible.
I was wondering if there was any way to add a ‘load more’ function so it loads perhaps 6 to begin with then the user has a load more option. Looking to limit the initial page load time.
I was also wondering if it was possible to have multiple filters on the same page? I am currently working on a golf package page so my initial version allows the user to filter by location. I would like to give them the option to filter by number of nights or even price high to low. Would this be possible?
Here is published link to what I have achieved so far: Click here
I won’t bother with my read only link as this is not really a help request, just a wishlist or sorts!
Thanks again for sharing this!
this is definitely not possible because the way this filter works is by loading every item in the collection and then show/hide according to the set active filter. also i don’t think webflows prerendering (published site is not connected to any database) allows that.
that is definitely possible. but this method would not allow multi-selects and i guess that’s what you are trying to achieve, right? so you could set both the location and the number of nights filter active at the same time… i have already written another solution for a multi-select filter but i guess its hard to understand and use without any explanation. maybe i’ll find the time to post it.
also please be aware that sorting by price (high to low) is actually not a filter function but sorting only. that’s pretty easy to accomplish also working with the filter at the same time. would you also need some custom code for that?
Thanks for the reply!
Regarding my first question: Would it be possible to have one of the filters named (as an example) ‘Featured’, then make that the default for when the page loads. Maybe I could make the text of that one white so the user can’t actually see it. Maybe just clutching at straws!
Regarding my second question: Yes I guess I would like the option to have a multi-select, but it’s not a game changer, I’d be willing wait until you find the time to show us the multi-select filter.
How would I set both the location and the number of nights filter active at the same time?
It would be great if you could show me how to sort price high - low as well if you would be so kind.
So I’ve added the filter to my collection list which works great. However, I want to add a number for each collection item (number of packages) that I manually enter into the backend when creating the destination.
Here is my public share link
Here is the live link to the page in question, which is the ‘Scotland Golf Packages’ static page.
As you can see from my link, the numbers show below each collection item which is what I want. However the filter has stopped working now. Could someone take a look and see why.
The filter works perfectly fine until I add an additional item to the list.
Not sure if you can preview changes made in public share link as I think the filter only works on published. If not let me know and I can change it back so the filter works then change back once someone has a look.
Just a heads up the site is only designed for desktop so far! Might look terrible on any other device
Does anyone have an explanation or video showing how to accomplish the multi-select filter for custom dynamic filters with the code and all? @buntestrahlen perhaps?
Thank you for sharing, @matthewpmunger. I’ll check it out and see if it helps
This is amazing! Thank you so much.
Is there any way to adjust it slightly so that filter buttons remained press, rather than switching off when you select a new button.
This way, you could select more than one button at one time?
working here! would you please describe your problem in more detail?
I am also interested in this option @buntestrahlen
Here is my site:
I am using your filter system to allow the user to sift through my archive (essentially a link bank) and feel as if it would be natural for the user to be able to apply multiple filters… i.e. click “film” then click “photo essay” and have all events which are tagged with “film” and “photo essay” (both not either/or) be displayed.
I’m also having some trouble customizing the “filter-active” styling. I tried applying the styling to the empty filter-active class but it seems like something is overriding it? Only the 100% opacity styling is coming through (not the text weight styling, for example). Thinking this might have to do with the fact that the
filter-text-block has subclasses which define its styles (based on css styling I’ve used in other parts of my site). Do you think that would be possible? If so, I suppose a solution would be to do all the styling within the
filter-text-block class and not use any subclasses?
also for what it’s worth @buntestrahlen … I am also struggling to think of a way to dynamically display the years. You can see in my site what I mean… I want to break up what would otherwise be a list of links essentially by what year they were published in (they are already sorted by publish date newest to oldest). I have tried making “empty” year items in my collection but that runs into the problem of when I go to filter out anything, the years go with them, unless I give the “years” each tag, but then because I am limited to 5 references per item, I have more tags than slots in the item to reference them! Any advice?
I recognize one solution would be to make a new collection list for each year, which is probably what I will try next, it’s just not IDEAL, although certainly seems like a plausible solution. Will update once I implement it. Giving it a go now.
UPDATE ON MY ATTEMPT: already hit a problem. I can’t seem to filter a collection list by year, only by “posted with in x number of days from today” which isn’t the most intuitive. . .
@buntestrahlen are you still available to help people troubleshoot this?
@buntestrahlen this is great solution but having just looked at your site now you seem to have updated the filtering system to a better solution. Is there a tutorial for this change, is it a modification of this original version? Would be interested to find out more about the new method.
and @andydlines, about the filter upgrade: yes, i did a modification of the original version allowing multi-selection. if you have some jquery knowledge, you can find my solution on the live website. but i am sorry to say i cannot provide a tutorial for this at this time. hopefully sometime in the future!
Do you know if this Dynamic filter coding would function with an Ecommerce site?
Or if anyone else reads this -> any good tutorials? Looking to build a drop down list that allows the customer to View products by Brand, By Price, OR By Item Category. For example: