My website has a series of pages, each of which is an activity. Each activity has multiple tags, such as “with students” or “online” or “mutual respect”. I’d like to create an index page where users can select a tag and see a list of which activities fit that criteria (and idea then be able to click and go to that page). I’d like some ideas of the best way to create this page, and ideally a link to somewhere that can get me started doing that. I’m also trying to figure out the best way to enter this data into a collection for this use. Is it cascading dropdown menus that then produce a table? Another way? Anyone have an example website where they’ve done this?
Hi,
wix code allows you lots of cool options here, if i was building this website i’d go with wix-code repeaters while the content of your site is saved in an activities db collection (instead of in static pages with the content there).
the easiest way to get started with filtering is that you come up with the list of filters, add those as true/false tags in your collection for each of your activities.
since your filters seems to be on/off for each of the tags, you can then add buttons (enabled disabled) or toggles to allow users to easily select de-select those filters.
then, given the user set of filters, write the query in code to filter only those activities that matches the criteria to be displayed in the activities repeaters page
check out one of the sites i came across lately https://www.ayrshiredailynews.co.uk/alerts
good luck,
Shlomi