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."
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."
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
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
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 -
As it is now, the summary comments in the two files are identical.
Bob the Idiot
any demos of your installs people? !! thanks
EDIT * dont worry , i installed and tested workds gr8
S
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."
"He can have a lollipop any time he wants to. That's what it means to be a programmer."