Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

modifying image_gallery


Go to End


649 Views

Avatar
CHD

Community Member, 219 Posts

2 June 2011 at 3:18am

hi all,

im looking to modify the image_gallery for the following.

i'd like to change the link of each thumbnail from "open lightbox" to on:hover show a box with some text and a link.
im thinking i can just change it so that each <li> on:hover shows a div, and inside that div could be the "caption" where my client can enter their small text and a link to a case study PDF.

i cant find where that "link to lightbox" is at the moment though to remove it... anybody know where?

also...am i wasting my time using the image_gallery for this? would it be easier to just create a new page type?

thanks in advance for any light you can shed on this.