We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32017
    • 151 Posts
    I have one page where i want to show multiple galleries... for example i have images from January, then want to add images from February , march etc without adding a new page...

    can this be done?
      London web design - MODx specialists
      • 6726
      • 7,075 Posts
      Yes, it’s possible, you might want to check that thread :
      http://modxcms.com/forums/index.php/topic,22558.0.html

      :)
        .: COO - Commerce Guys - Community Driven Innovation :.


        MODx est l'outil id
        • 32017
        • 151 Posts
        hmm, im still trying to work this one out.. here is my code.

        <h1>Gallery</h1>
        
        <h2>Gallery 1</h2>
        [[MaxiGallery? &display=`embedded` &embedtype=`popup` &pics_per_row=`5` &max_thumb_size=`80` &max_pic_size=`800` &quality_thumb`100` &pic_use_watermark=`1` &pic_watermark_type=`image`]]
        
        <br style="clear:both"/>
        
        <h2>Gallery 2</h2>
        [[MaxiGallery? &display=`embedded` &embedtype=`popup` &pics_per_row=`5` &max_thumb_size=`80` &max_pic_size=`800` &quality_thumb`100` &pic_use_watermark=`1` &pic_watermark_type=`image`]]
        
        <br style="clear:both"/>



        but this shows the same gallery twice... i dont want to start adding new pages etc i just need to have a new gallery using same folder / id?

          London web design - MODx specialists
          • 7923
          • 4,213 Posts
          One document can have only one gallery. So what you are trying is not possible. But I don’t understand why would you want to make it like that? You can make the same end result with more manageable way like this:

          Create separate documents for the january, february, march etc. galleries (they can be hidden one for example) and create a single "gallery" page that lists all the different galleries to that single document (get information from the post that david linked). Then when you add a new gallery document, it will instantly appear in the main gallery page. And you can have the manage pictures buttons for each gallery in the main gallery page.


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 32017
            • 151 Posts
            because thats too much effort tongue lol ahh well, never mind i will have to set it up like you’ve said, thanks for clearing that up ! much appreciated


              London web design - MODx specialists
              • 32017
              • 151 Posts
              The problem with outputting all galleries to the main page is i cant get it to split into the different dates and output Jan Gallery here etc as per my code above ^
                London web design - MODx specialists
                • 7923
                • 4,213 Posts
                Yes you can.. Ditto lists all the gallery documents, you can put what ever you want in the ditto template. Did you read the post that david linked?


                  "He can have a lollipop any time he wants to. That's what it means to be a programmer."