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

    I can’t find any param, which set up max. images which will be showed in MaxiGal. Manager.

    Thank you for advice.
      • 7923
      • 4,213 Posts
      &max_pic_number defines how many pictures can be uploaded to a gallery. See http://wiki.modxcms.com/index.php/MaxiGallery for the parameters (seems to not work now..)


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 27843
        • 170 Posts
        Quote from: doze at Nov 26, 2008, 04:19 AM

        &max_pic_number defines how many pictures can be uploaded to a gallery. See http://wiki.modxcms.com/index.php/MaxiGallery for the parameters (seems to not work now..)

        Isn’t what I need. &max_pic_number defines max. pictures in gallery, on manual is write exactly this - Maximum number of images allowed in this gallery. Use zero for an unlimited number of images.

        But I need max. images per page but on the manager site(in manager after click on the Manager button).
          • 7923
          • 4,213 Posts
          Paging has not been implemented for the picture management, sorry.


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 27843
            • 170 Posts
            Quote from: doze at Dec 01, 2008, 05:27 AM

            Paging has not been implemented for the picture management, sorry.

            hmm, this is very important problem, because if I have 300 pic in gallery so it very big problem, plan you this in future release ?
              • 27843
              • 170 Posts
              and the problem is bigger if I have background without repeat (-x or -y) sad

              What I can do ? or what do you suggest ?
                • 7923
                • 4,213 Posts
                I haven’t planned to do anything but bug fixes to MaxiGallery, so it’s up to you users to do new features if you need some, I’ll be glad to include them to the release though. I will do a new gallery resource for revolution at some point and can guarantee that it will have paging in management too, but that’s long way in future still. smiley


                  "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                  • 27843
                  • 170 Posts
                  Quote from: doze at Dec 01, 2008, 06:05 AM

                  so it’s up to you users to do new features if you need some, I’ll be glad to include them to the release though.

                  I am personally interested the Maxi Gallery had the feature, so I can develop it. But I don’t want study whole MaxiGallery code, so I want to ask you where should I to start ?

                  Which part of the MaxiGall code is responsible for rendering the MaxiGallery "Manager Part".

                  When I will have this code done I send you patch for revision.

                  Thank you for advices.
                    • 7923
                    • 4,213 Posts
                    The form elements for pictures are rendered in /assets/snippets/maxigallery/maxigallery.php#L681 onwards. You can see the current thumbnail paging code starting from /assets/snippets/maxigallery/maxigallery.php#L1175


                      "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                      • 27843
                      • 170 Posts
                      Quote from: doze at Dec 01, 2008, 09:38 AM

                      The form elements for pictures are rendered in /assets/snippets/maxigallery/maxigallery.php#L681 onwards. You can see the current thumbnail paging code starting from /assets/snippets/maxigallery/maxigallery.php#L1175

                      Ok, thank you. I will inspire your code.