Dynamic page linked to main page gallery

Hi,

I am new to wix code. I saw some of the functionalities offered and I was wondering if a specific functionality can be implemented in theory or if it’s something that isn’t exactly possible in wix:

Given a gallery on my main page, that will be (future) connected to a database collection, can I link each gallery item to its own page that is dynamically updated from the collection’s data according to that gallery item?

I am a bit familiar with python and java and mongoDB, so I have a sense that it is possible but i’m not sure the wix code platform supports this precise way that I want to configure my site.

It would be great to get advice on which tools and which sequence of actions I need to perform in order to achieve this effect.

Thanks :slight_smile:

Hi Yafim,

Yes, you can do that - this use-case is actually one of the main reasons Dynamic Pages came to life :slight_smile:
You can see an example (with code) here .
To summarize, what you need to do, given a collection of recipes is:

  1. Add a Dynamic Item Page for that collection
  2. Add A Gallery and connect it to a Dataset which is connected to the recipes collection
  3. Connect the gallery to the Dataset. And connect the Links section to the dynamic pages field.

You can learn more about Dynamic Pages here .

Enjoy,

Tom

Thank you Tom!

I don’t understand how to properly do it :frowning:

1 Like

Hello Tom,

I don’t see my dynamic page in the link section, how can i do then ?

Did you figured it out?

@solisaguero no :-/