At http://www.hennadancer.com/index.php?pa ... er-tattoos I've tried to use a "lightbox" effect with the core tag {imagegallery}. I've used the Prototype implementation of lightbox since I noticed that the gallery uses prototype itself.
However, it isn't working. I'm suspecting that the lightbox script doesn't like the way the gallery script writes its links - it would prefer a direct link to the image. Is my solution therefore to tweak the code for the gallery tag, and if so, how do I keep it safe from upgrades? (I've already tweaked it to include the rel="ligtbox" attribute on the links.
CMSMS version 1.6.7
imagegallery vs lightbox
[Partly resolved] imagegallery vs lightbox
I now have this working: I had forgotten to hook up the lightbox stylesheet, and have edited the function.imagegallery.php file to write the links to the large images directly.
My question remains: How do I protect that change from being overwritten by future upgrades to CMSMS?
My question remains: How do I protect that change from being overwritten by future upgrades to CMSMS?