We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 47959
    • 1 Posts
    Hello,
    I'm trying to add 3 galleries on one page, but the third one overwrites the previous 2 galleries so i have 3 galleries the same.

    This is the code in the page:
    [[!Gallery? &album=`(*gallery name1*)` &toPlaceholder=`gallery` &thumbTpl=`gallery_thumbTpl`]] [[+gallery]]
    [[!Gallery? &album=`(*gallery name2*)` &toPlaceholder=`gallery` &thumbTpl=`gallery_thumbTpl`]] [[+gallery]]
    [[!Gallery? &album=`(*gallery name3*)` &toPlaceholder=`gallery` &thumbTpl=`gallery_thumbTpl`]] [[+gallery]]

    So how do i make all three show up separately?
    And what would be the code for it?

    Hopefully that makes sense smiley
      • 5143
      • 116 Posts
      Have you tried giving the placeholders different names?

      Something like:
      [[!Gallery? &album=`(*gallery name1*)` &toPlaceholder=`gallery1` &thumbTpl=`gallery_thumbTpl`]] [[+gallery1]]
      [[!Gallery? &album=`(*gallery name2*)` &toPlaceholder=`gallery2` &thumbTpl=`gallery_thumbTpl`]] [[+gallery2]]
      [[!Gallery? &album=`(*gallery name3*)` &toPlaceholder=`gallery3` &thumbTpl=`gallery_thumbTpl`]] [[+gallery3]]