Linking a gallery to 1 dataset with 4 dynamic pages

Dear support team

Please help me with my website. I already looked through all the different tutorials and can’t find out what I did wrong.
What I did so far: I created 1 dataset which I called “Profile”. All the profiles of this dataset belong to one of 4 categories. So the first column of the dataset specifies to which categorie the profile belongs to.
As each dynamic page should have a different layout (one layout for each categorie), I created 4 dynamic pages with the filter “categorie is” (+ one of the 4 options).
And for each dynamic page I set another URL.
Then I added a gallery to my website in order to show the content of this dataset.

  1. The problem I have now is that even if all the profile pictures appear in the gallery, only the link for 1 categorie works. So this means that I can only access to 1 of these 4 categories. For all the other categories there is an error.
    I found out that the source of the problem might be the URL, because when I link the gallery there is an option “links connect to” with only one choice. So even if I have 4 different URL’s, I can only choose one option and I will always have the same error message.
    Can you tell me how it is possible to link all my 4 different category pages of this one dataset in 1 gallery?
    Or do I have to make 4 different datasets and somehow link them all to 1 single gallery?

  2. The other problem I have is that when I wanted to put a search button so that the visitors can filter the images (so that they can choose for example 1 categorie and only the profiles of this category will appear), it doesn’t show every category only once but as many times as it appears in the column of the dataset.
    Can you tell me what I have to do that only category appears only one time even if there are several profiles for each category in the dataset?

  3. And how can I find out the name of my dataset? For your codes you always use „dataset1“. Is this the standard or do I have to take the name I gave to my dataset with a small capital letter (in my case “profile”)?

  4. And is there a limit of space for a dataset? I want to avoid that I have to start at the beginning… Probably I will need about 1000 lines, do you think that is possible?

Thank you so much for your help!

On the left side you can see the URL’s I created for the 4 dynamic pages for my dataset. On the left side you can see how I set th gallery and the problem I have with the dropdown menu.

1 Like

Dear wix code team

I am still waiting for an answer…
Can you please tell me what I have to do???
Thank you.

Did you get an answer to this? I have exactly the same problem