We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43899
    • 26 Posts
    christoph_mics Reply #1, 13 years ago
    I have created more than 10 albums in Gallery and want to display them all as clickable list.
    From the tutorial I used this code:
    <div style="float: right;">
    <h2>Galleries</h2>
    <ul>[[!GalleryAlbums]]</ul>
    </div>
    

    To my surprise only the last 10 albums are listed here.

    Is there a limitation in the # of albums that can be used?
    Is there a system variable that limits this?

    I ran out of ideas here ...

    Thanks
    Christoph
      • 42046
      • 436 Posts
      The GalleryAlbums snippet has a default limit set to 10 unless you specify otherwise.

      [[!GalleryAlbums? &limit=`0`]]


      Will show all the albums, or you can set a specific limit.

      The available parameters are documented here: http://rtfm.modx.com/extras/revo/gallery/gallery.galleryalbums