We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13137
    • 204 Posts
    I am trying to set up a new gallery with the following structure:

    +Gallery (1)
    Oranges (2)
    Grapes (3)
    Bananas (4)
    +Apples (5)

    Green (6)
    Red (7)


    Where I would like for the root (1) to show the thumbnails of the four children (2,3,4,5) with 5 being an image from either of its children (6,7).

    The way I have it set up now, it is only showing 2,3,4 and nothing for 5.

    How I have it set up right now is the following:


    +Gallery (1) [!MaxiGallery? &lang=`es` &manageOuterTpl=`CODE:` &manageButtonTpl=`CODE:` &display=`childgalleries` &childgalleries_level_limit=`1` &query_level_limit=`1` &pics_per_row=`3` &order_by=`random` &pics_per_page=`30`!]

    Oranges (2) [!MaxiGallery? &manageOuterTpl=`CODE:` &manageButtonTpl=`CODE:` &pic_use_watermark=`1` &pic_watermark_type=`image` &pic_watermark_img=`assets/images/crono-marka_agua.png` &order_by=`date` &order_direction=`DESC` &lang=`es` &display=`embedded` &embedtype=`slidebox` &pics_per_row=`3` &max_thumb_size=`150` &max_pic_size=`780x500` &pics_per_page=`20`!]

    Grapes (3) [!MaxiGallery? &manageOuterTpl=`CODE:` &manageButtonTpl=`CODE:` &pic_use_watermark=`1` &pic_watermark_type=`image` &pic_watermark_img=`assets/images/crono-marka_agua.png` &order_by=`date` &order_direction=`DESC` &lang=`es` &display=`embedded` &embedtype=`slidebox` &pics_per_row=`3` &max_thumb_size=`150` &max_pic_size=`780x500` &pics_per_page=`20`!]

    Bananas (4) [!MaxiGallery? &manageOuterTpl=`CODE:` &manageButtonTpl=`CODE:` &pic_use_watermark=`1` &pic_watermark_type=`image` &pic_watermark_img=`assets/images/crono-marka_agua.png` &order_by=`date` &order_direction=`DESC` &lang=`es` &display=`embedded` &embedtype=`slidebox` &pics_per_row=`3` &max_thumb_size=`150` &max_pic_size=`780x500` &pics_per_page=`20`!]

    +Apples (5) [!MaxiGallery? &lang=`es` &manageOuterTpl=`CODE:` &manageButtonTpl=`CODE:` &display=`childgalleries` order_by=`createdon` &order_direction=`ASC` &pics_per_row=`3` &pics_per_page=`30`!]

    Green (6) [!MaxiGallery? &manageOuterTpl=`CODE:` &manageButtonTpl=`CODE:` &pic_use_watermark=`1` &pic_watermark_type=`image` &pic_watermark_img=`assets/images/crono-marka_agua.png` &order_by=`date` &order_direction=`DESC` &lang=`es` &display=`embedded` &embedtype=`slidebox` &pics_per_row=`3` &max_thumb_size=`150` &max_pic_size=`780x500` &pics_per_page=`20`!]

    Red (7) [!MaxiGallery? &manageOuterTpl=`CODE:` &manageButtonTpl=`CODE:` &pic_use_watermark=`1` &pic_watermark_type=`image` &pic_watermark_img=`assets/images/crono-marka_agua.png` &order_by=`date` &order_direction=`DESC` &lang=`es` &display=`embedded` &embedtype=`slidebox` &pics_per_row=`3` &max_thumb_size=`150` &max_pic_size=`780x500` &pics_per_page=`20`!]


    Also, I cant seem to get 5 to display the order of its children by date, with the newest being first?

    And yes, I have read the Wiki and the forum, but I am obviously missing something undecided

    Thank you for any help you are willing to provide.
      • 7923
      • 4,213 Posts
      Quote from: islander at May 12, 2009, 10:27 AM

      The way I have it set up now, it is only showing 2,3,4 and nothing for 5.
      Yeah... not possible.. MaxiGallery lists only the "real" galleries, e.g. the document’s that have pictures in them. Sorry.

      Quote from: islander at May 12, 2009, 10:27 AM

      Also, I cant seem to get 5 to display the order of its children by date, with the newest being first?
      try &childgalleries_order_by, see available parameters from wiki smiley


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 13137
        • 204 Posts
        Rats, ok, thanks for the info and time.