Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

module_photogallery goes haywire on click

Participant ,
Jul 22, 2015 Jul 22, 2015

I'm having one of those scratch your head moments that I can't figure out.


When you click on a photo, the lightbox pops up as it should, but at the bottom of the page below the footer there's some code being loaded that wasn't there originally.


I'm not getting any errors so I'm sort of at a loss for what to do. I've tried rebuilding the gallery with no luck.

Has anyone experienced this before? Any ideas what's going on?

Site is: Media Gallery

BC code: {module_photogallery id="559" rowCount="4" resultsPerPage="100" width="300" height="260" useStandardMethod="false" thumbnail="fill_proportional"}

634
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jul 22, 2015 Jul 22, 2015

Are you overiding or trying to overide the default lightbox script?

Translate
LEGEND ,
Jul 22, 2015 Jul 22, 2015

Are you overiding or trying to overide the default lightbox script?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 23, 2015 Jul 23, 2015

Thanks Liam - there was a script in there that I thought I had commented out, but BC had stripped the --> code and replaced with -->

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 23, 2015 Jul 23, 2015

Not BC, the editor... Really avoid trying to do code using the WYSIWYG - They are not made for that.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 23, 2015 Jul 23, 2015

Lesson learned! I'll use the Develop module from now on...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 23, 2015 Jul 23, 2015
LATEST

If you enable liquid you can do your own layout and code..

If you want to do your own lightbox and avoid doing overides that you may have issue with on the module without liquid..
{module_photogallery,ID,rowLength,targetFrame,resultsPerPage,Width,Height,UseStandardMethod,thumbnailAlgorithm}

I forgot this as I just make my own with liquid these days but I think, if you add the extra paramater in the legacy syntax of just "false"

EG:

{module_photogallery,ID,,,20,100,100,,,false}

It will stop the lightbox from rendering. If this does not work it is something along these lines, It has been a while so I forgot my own hack, lol.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines