Thank you for giving us the demokit, i love it ! I am making a new version of my website. I am preparing a new version of my website.
I would like to create virtuals pages for filtring differents types fields (thema, favorite, location, place, year,…) and more, create a “tag cloud” in footer.
With demokit, how should i proceed ? I think I should first make each page as an individual publication.
Hey @springfield, I don’t really understand what you want to achieve and how that relates to the Demokit in particular.
Filtering via routes is explained in this cookbook recipe: https://getkirby.com/docs/cookbook/content/filter-via-route
Maybe that helps, but maybe you want something else…
Before posting, I’m testing and reading a lot of things. In particular, How to create virtual pages for each photo in an album? or on a cockbook.
- I create album and insert my images with the panel (button “Add”).
- I enter values on my additional fields for each image. (i have create in image.yml)
Example of my additional fields are:
years: 2000, 2010, 2019,… -> http://localhost:8888/demokit-master/portfolio/projects/year/2000
locates: Paris, New York, Marseille,… -> http://localhost:8888/demokit-master/portfolio/projects/locate/Marseille
places: Tour Eiffel, Brooklyn,… -> http://localhost:8888/demokit-master/portfolio/projects/place/Brooklyn
favorites: Yes/Not -> http://localhost:8888/demokit-master/portfolio/projects/favorites
thema: Travel, Nature, Artist,… -> http://localhost:8888/demokit-master/portfolio/projects/thema/travel
model: iPhone, Canon,… -> http://localhost:8888/demokit-master/portfolio/projects/model/Canon
Ok, yes, then you can either use parameters for the filtering or the method described in the cookbook recipe. Basically, you need a set of routes for the different filters and links that lead to these routes.