Linking lightboxes to dynamic repeaters

Hello! I am working on a “teachers” page for a yoga studio and want the “learn more” button to open up a teacher specific light box. I am using a repeater layout that is linked to a dataset. Is it possible to link a light box using a dataset?

Hi,

It is possible to set this up without repeaters or code at all. Simply by creating a simple layout ( non repeating) and connecting each button to each Lightbox.

If you would like to create a dynamic lightbox page you will have to do some coding.
Start by calling openLightbox() with the relevant teacher information and from within the lightbox, call getContext() to read the data.

Good luck!