We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7923
    • 4,213 Posts
    Here’s a preview for the next version, few new things and some fixes:

    - Added: Italian, Slovenian, Danish, Spanish, European Portuguese and Dutch language packs
    - Changed: Filename database fieldtype to tinytext to support longer filenames
    - Fixed: Possible template loading bug in certain environments
    - Added: upload_field_count parameter (to set the amount of upload fields in picture management)
    - Changed: ZIP archive extracting now uses PclZip library, so it doesn’t require anything special from server environment to work
    - Fixed: Picture view display mode when no pictures are yet in the gallery
    - Added: Default templates now add the ’manage pictures’ button to the page if display=pictureview
    - Added: maxigallery.config.snippetparameter placeholders to pictureTpl
    - Fixed: Default css was not included in childgalleries display mode

    Should be stable and working.. There is one thing I forgot to do, otherwise it would have been final 0.5.2 version, but I forgot to put the logic back what checks that is max pictures amount achieved when uploading pictures in zip files.. In this version, by uploading a zip file you can go over the set limit.

    Anyways, it would be good to have some tests on this before I make it official, so please update your copies and try if you have time.


      "He can have a lollipop any time he wants to. That's what it means to be a programmer."
      • 23564
      • 1 Posts
      rolleyes What’s the feather of maxigallery.config.snippet parameter?
        • 7923
        • 4,213 Posts
        What? In templates, you can use [+maxigallery.config.<snippetparameter>+] placeholders to get the value of that snippet parameter.


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 6905
          • 1 Posts
          Have just loaded v5.2 beta onto my laptop and am running it locally. Windows XP - IE7.
          Seems to be working fine. Slidebox was never reliable in 5.2 but this update seems to have fixed it.
          Zip function is a bonus and works.

          I will run it on my own site to see if the IE6 issues are still present.

          Will report back.
          Keep up the good work.

          Richard
            • 3749
            • 24,544 Posts
            I tried to install 0.5.2 but have lost my photos and Manage buttons.

            The snippet is executing but with no output whatsoever.

            It returns immediatly from the MAXIGALLERY_PATH check at the beginning of the snippet. Apparently MAXIGALLERY_PATH is not defined.

            The path undefined error message never shows up, but I put my own error message in the Maxigallery snippet code (inside the path-check if statement) and MAXIGALLERY_PATH is definitely undefined.

            As an aside, It might be a good idea to echo the error message right then, before the snippet call returns, because there are apparently circumstances where it doesn’t get to the screen as it is.


            I tried to revert to 0.5.1 but MAXIGALLERY_PATH is still undefined. I also tried an upgrade install of MODx with no effect.

            I hope someone can point me toward a fix. I can re-install the site from a backup but I’d lose some photos and I’d really like to understand what went wrong so I won’t be afraid to update snippets in the future.

            I don’t know where MAXIGALLERY_PATH is supposed to be defined so I don’t know where to go next.

            Bob
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting
              • 3749
              • 24,544 Posts
              Quote from: BobRay at May 12, 2007, 11:04 PM

              I tried to install 0.5.2 but have lost my photos and Manage buttons.

              The snippet is executing but with no output.

              It returns immediatly from the MAXIGALLERY_PATH check at the beginning of the snippet. Apparently MAXIGALLERY_PATH is not defined.

              Doh !!! I really need to get more sleep.

              I pasted the code from MaxiGallery.php into the snippet rather than using the code in MaxiGallery.txt.

              Maybe the comment at the beginning or MaxiGallery.php could be changed from:

              "Advanced imagegallery snippet"

              to

              "auxilliary code for imagegallery snippet" (or something similar)

              And the comment in MaxiGallery.txt could have "paste this code into the snippet"

              to protect idiots like me from themselves - embarrassed

              As it is now, the summary comments in the two files are identical.

              Bob the Idiot
                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting
                • 32017
                • 151 Posts
                any demos of your installs people? !! thanks

                EDIT * dont worry , i installed and tested workds gr8
                S
                  London web design - MODx specialists
                  • 4707
                  • 73 Posts
                  I may have found a bug in v0.5.2 preview.

                  I called MaxiGallery inside a Ditto template, like some people were doing here. The result is a blank page with this error:
                  Fatal error: Cannot redeclare prezipextract() (previously declared in /mysite/assets/snippets/maxigallery/maxigallery.php:189) in /mysite/assets/snippets/maxigallery/maxigallery.php on line 195


                  If I use v0.5.1 everything works as expected.

                  Ditto call:
                  [!Ditto? &tpl=`TourTpl` display=`all` &sortBy=`menuindex` &sortDir=`ASC`!]


                  MaxiGallery call inside the Ditto template:
                  [[MaxiGallery? &gal_query_ids=`13` &lang=`en` &display=`embedded` &embedtype=`smoothgallery` &smoothgallery_width=`140` &smoothgallery_height=`100` &smoothgallery_timed=`true` &smoothgallery_delay=`5000` &smoothgallery_showInfopane=`false` &smoothgallery_embedLinks=`false` &smoothgallery_showArrows=`false` &smoothgallery_showCarousel=`false`]]
                    • 7923
                    • 4,213 Posts
                    Yes, that sounds actually just a bug in general when running MaxiGallery more than once in the page, I’ll fix it and put the 0.5.2 final in resource repository soon... Thanks for report.


                      "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                      • 7923
                      • 4,213 Posts
                      Final 0.5.2 here.


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

                      This discussion is closed to further replies. Keep calm and carry on.