Question:
Hi, so I was working on the company website, and there I created a dynamic page using the ‘add preset’ feature. The collection name was ‘Corporate Interface 2018-2019’. Later, I created another collection called ‘Corporate Interface 2022-2023’. However, upon publishing, whenever I try to open the link for ‘2022-2023’, it automatically opens the ‘2018-2019’ link. I don’t know how to solve this problem. I’ve tried many different things
When we click on the 2022-23 link, it should show the 2022 and 2023 pages only instead of the 2018-2019
I’ve already checked its link in page info and also tried deleting the collection and creating a new one, but it still didn’t work
I am going to guess you have 1 dynamic page but multiple database collections.
A dynamic page only ever links to 1 main database collection.
If you want a dynamic page for the second database collection then you need to create it.
But as far as I can tell, you may not need multiple database collections. You will run out of collections very quickly with the new Velo limits.
Your collection can be called “archives”, and the fields (or columns) inside of the collection can be something like:
title
category
year
image
description
(etc)
Then the URL pattern for your 1 dynamic single item page can be .com/title/year
If you wanted a dynamic category page you could give it a URL pattern like .com/year (this way you can connect a repeater that displays all the appropriate items that match with the same year)
1 Like