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

    I have a page with 2 calls to MaxiGallery, one for the main picture and, later, another for thumbnails.

    Despite the use of a special template for thumbnails, a second empty unordered list with class="thumbs" is outputed, like this:

    <ul class="thumbs">
      Here are thumnails outputed with a special template.
    </ul>
    
    <ul class="thumbs">
    </ul>


    The calls to MaxiGallery are:
    [!MaxiGallery? &max_thumb_size=`120x90` &max_pic_size=`560x560` &pictureTpl=`@FILE:/assets/snippets/maxigallery/templates/image_principale.tpl` &display=`pictureview` &manageOuterTpl=`CODE:` &manageButtonTpl=`CODE:` &css=`@FILE:` !]

    and
    [!MaxiGallery? &max_thumb_size=`120x90` &max_pic_size=`560x560` &pics_per_row=`1` &galleryPictureTpl=`@FILE:/assets/snippets/maxigallery/templates/galleryPictureTpl_vignettes.tpl` &js=`assets/snippets/maxigallery/js/galerie_vignettes.js` !]


    It seems that the second call (the one for thumbnails) causes this behaviour, but I cannot figure me why this happens. Can someone help?
    Thanks.
      • 7923
      • 4,213 Posts
      Create custom galleryOuterTpl, the <ul> tags are there.


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