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

    I am using a Ditto call to form a list of MaxiGallery galleries:
    <div class="photo_album">
    	<a href="[~[+id+]~]" title="watch album">[[MaxiGallery?  &galleryOuterTpl=`no_gallery` &galleryPictureTpl=`no_gallery_pic` &pics_per_page=`1` &pageNumberTpl=`numbers` &view_gallery=`[+id+]`]] [+pagetitle+]</a><div class="date">[+date+]</div>
    </div>

    and I wonder is there a way to display the number of pic in a gallery? some special MaxiGallery call that returns the number?

    Thanks.
      http://modx.ru - российская поддержка MODx
      http://newscup.ru - экспериментальный проект
      http://yentsun.com - персональный сайт
      • 7923
      • 4,213 Posts
      No, I have to add a placeholder for that one.. I’ll do it for next release.

      And for the meanwhile, you can ofcourse do a snippet that counts the pics for specific gallery (eg. queries the maxigallery database table).


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 33114
        • 518 Posts
        thanks for reply
        and nice to hear this feature is planned.

        great work!
          http://modx.ru - российская поддержка MODx
          http://newscup.ru - экспериментальный проект
          http://yentsun.com - персональный сайт