New to Grav here and looking for some guidance before getting too far into custom theme development.
The site I’m working on includes pages for Employees, Blog and News, which should be straightforward to build with Modular and/or Collection Pages. However for better UX, I’d also like to include the following functionality:
Dynamically update Collection results (without page refresh), based on sort and filter options selected by the user.
- Sort by: First Name or Last Name; and
- Filter by: Show All (default), Team 1, Team 2, Team 3, etc.
Pass specific sort/filter settings when linking to a Collection page (from elsewhere on the site)
- Link to Employees page and View the members of Team 1, sorted by Last Name.
Is this functionality possible (or practical) with Grav? If someone could steer me in the right direction (especially with examples), it would be greatly appreciated!
In addition… When searching through the Forum, I found an old thread which suggested using CSS to show/hide results. While this may be a possibility, I’m leaning towards keeping the logic within the page templates or a plugin if possible.
Thanks in advance!