We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15923
    • 9 Posts
    Hey,
    im relatively new to modx and just started working with maxigallery.
    I was wondering weither it was possible to have a page with all my galleries on it. so one thumbnail for each gallery, but instead of opening a page with the thumbnails when you click on a gallery open them directly in slimbox.

    €: So far i tried having a page where i have this call:

    [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &gal_query_ids=`7` &order_by=`pos` &limit=`1` &galleryPictureTpl=`mgGalPicTpl`!]


    This is the mgGalPicTpl Chunk

    <a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]"
    rel="lightbox[set[+maxigallery.picture.gal_id+]]"
    title="[+maxigallery.picture.title:htmlent+]
    [+maxigallery.picture.descr:htmlent+]">
    <img src="[(base_url)][+maxigallery.path_to_gal+]tn_[+maxigallery.picture.filename+]"
    class="thumbnail" title="[+maxigallery.picture.title:htmlent+]
    [+maxigallery.strings.click_to_zoom+]"
    alt="[+maxigallery.picture.title:htmlent+]
    [+maxigallery.strings.click_to_zoom+]" />
    </a>


    Than another page with this call

    [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &order_by=`pos` &limit=`99999` &galleryPictureTpl=`mgGalPicTplHidden`!]


    this is the mgGalPicTplHidden Chunk

    <a style="display:none;" href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]"
    rel="lightbox[set[+maxigallery.picture.gal_id+]]"
    title="[+maxigallery.picture.title:htmlent+] -
    [+maxigallery.picture.descr:htmlent+]"> </a>
    


    But now when i click the Image it shows only 1 Picture and the usual next and back buttons in slimbox are missing.

    Does anyone have a solution for this ?

    If i put everything on one page it works, but then i can have only 1 gallerie and i want to have a page with all my galleries on it. So apparently the &gal_query_ids=`7` keeps it from working properly

    €2: I have it working now, but it isn’t exactly what i want. I have this call on the page now.

    [!MaxiGallery? &gal_query_ids=`6` &display=`embedded` &embedtype=`slimbox` &order_by=`pos` &limit=`1` &galleryPictureTpl=`mgGalPicTpl`!]
    
    [!MaxiGallery? &gal_query_ids=`6` &display=`embedded` &embedtype=`slimbox` &order_by=`pos` &limit=`99999` &galleryPictureTpl=`mgGalPicTplHidden` &manageOuterTpl=`CODE:` &manageButtonTpl=`CODE:`!]


    and on the page with id6 i have

    [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &order_by=`pos` &limit=`99999` &galleryPictureTpl=`mgGalPicTplHidden` &manageOuterTpl=`CODE:` &manageButtonTpl=`CODE:`!]


    But now i have no gallery names under the pictures...

    King Regards Kingslayer