How to allow gallery per page behaviour

Created on 13 March 2023, almost 2 years ago

I am using colorbox_entity_display to insert a custom content type into a colorbox modal. I am using a view to generate a gallery of my custom content type.

Is there a way to activate the "gallery per page" features of colorbox with this module? I have tried adding the 'rel' attribute to the content links as both the colorbox.js and colorbox documentation and code suggest but no luck.

I have also tried modifying colorbox_entity_display.js to include: $("a.colorbox-display...").colorbox({ ... rel:"group1"});

Is what I am trying even possible?

💬 Support request
Status

Active

Version

1.0

Component

Code

Created by

🇦🇺Australia gobnat

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024