We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30128
    • 78 Posts
    Hi,

    I can’t get slidebox to link to next / previous images in a gallery, such that when I click on the image, I’m taken to the next image in the gallery. Instead, the image just close and I am taken back to the main index page for that gallery.

    I haven’t messed with any templates. Both slimbox and lightboxv2 link to next image, so when I click on the image, I am taken to next image.

    A small sidenote question: If I’m gonna use my own template, and put this template in a chunk, what is the correct name to link to it? Just the chunkname, like
    &pictureTpl=`myOwnChunkTemplate`
    or should I put in in chunk-clauses, lik this:
    &pictureTpl=`{{myOwnChunkTemplate}}`


    I couldn’t get neither of the two methods above to work..
      • 7923
      • 4,213 Posts
      Did you see this? http://modxcms.com/forums/index.php/topic,15216.msg109273.html#msg109273

      And for the chunk question, &pictureTpl=`myOwnChunkTemplate` is correct. Also &pictureTpl=`@FILE:path\to\file.html` and &pictureTpl=`@CODE:template code here` works. These are described in the wiki article.



        "He can have a lollipop any time he wants to. That's what it means to be a programmer."