Linking Lightboxes to Content Manager

Hello all,

I’m trying to link to Lightboxes via a Content Manager (creating a class schedule for a yoga teacher - when prospective students click the class title, I want the lightbox with the description to open).

Any tips on how to get this synced up? I’m not seeing an option for Field Type that would fit this need.

This is the final touch on the site before going live so I’m keen to get it figured out – thanks in advance for your help!

you can connect content iside the lightbox to the data, but at the same time, I’m not sure if it will be the best option for your goal:

at the same time, in case you want containers with more description info to appear, you can use containers with on click interaction and close button, or expandable text elements, but there won’t be opening new box effect.
@Rob do you have any additional ideas on this?

Are you familiar with coding @jossakelvin ? I think using a lightbox with the content manager based on where it was clicked would require code.

I think setting up different lightboxes for each schedule would be the best option without code.

Hello! Sorry for not writing back till now - I didn’t get notifications about these messages coming through!

I did create different lightboxes for each schedule item, but there’s no “action on click” that links to a lightbox. (If there’s another way without code, please let me know!)

On the code front - would it be possible for you to give directions? I’m not personally too familiar, but I have an advisor who can help me work with code, so if you can give us some brief directions we can likely take care of it. Thanks!

You can link to the lightbox to the buttons as mentioned here:
https://support.wix.com/en/article/editor-x-using-lightboxes#link-elements-to-a-lightbox

Here is a forum post on connecting your lightbox to your dataset using code. https://www.wix.com/velo/forum/tips-tutorials-examples/connecting-your-database-to-lightboxes

It uses the query() and openLightbox() APIs.