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

    I'm new to Modx and i just have a few questions. Was hoping to try my luck and hopefully make more sense of some things lipsrsealed

    -----------------------------------------------------------------------------------------------------------------------------------------------------------

    I get [[!Gallery? &album=`My Album`]] is to load an entire gallery, and the callback on [[+gallery]] would be something with formatting eg:

    <div class="gal-item-active">
    <a href="?galItem=5&galAlbum=Helmet+List&galTag=" title="tagstyle.png">

    <img class="" src="/section/assets/components/gallery/connector.php?action=web/phpthumb&w=100&h=100&zc=1&far=C&q=90&src=%2Fsection%2Fassets%2Fgallery%2F1%2F5.png" alt="tagstyle.png">
    </a>
    </div>....

    -----------------------------------------------------------------------------------------------------------------------------------------------------------

    but is it possible to be able to get a callback that isn't pre-formatted. I understand that using gallery item i'm able to just get the values
    similar to me making a sql query. But i've got no idea how to do it with Modx Gallery.

    Thanks in advance.
      • 42720
      • 2 Posts
      Oops silly me, i didn't read up about chunks.
        • 41958
        • 65 Posts
        Did you manage to make the class="gal-item-active" to show up on rendering?