Hello,
I have just couple things to do until I release the next version of MaxiGallery and would like to get some testing done to the current SVN code.
So if you have time,
download the working SVN version from this link and try it out.
EDIT: The archive is attached to this post for the mean while as my SVN account wiped out.
There are tons of fixes that have gone in and some new features. I will still do the phpThumb integration and gallery id feature before I release the v0.6.
Thanks!
Here’s the changelog since v0.5.2:
Fixed: CHMOD issue in gallery resynch
Changed: If picture files are deleted from file system folder, resynch operation deletes them also from the database table
Changed: Images can be browsed in query mode in the same document, pictures does not link to original document by default anymore
Added: query_mode_link_original parameter what can be used to control whether the pictures link to original gallery documents in query mode or can be browsed in that document
Changed: Do not show certain operations in picture management if in query mode
Added: possibility to manage pictures when using &gal_query_ids parameter
Added: &customFields parameter
Added: Possibility to manage pictures when using &pic_query_ids parameter
Fixed: Do not build link to big image if it doesn't exist
Added: Possible to sort childgalleries by TV name (prefix tv name with "tv")
Added: &childembedtype parameter
Fixed: Last leaf of childgalleries in a tree were showing itself as a child gallery to itself
Fixed: childgallerytpl maxigallery.picscount placeholder did not return corret picture count
Fixed: octdec to chmod_files and chmod_folders parameter
Changed: MaxiGallery database table validation routine so that MODx db api can be used
Fixed: Return to correct page when pics_per_page is used and index is clicked from picture view
Fixed: Added ftp_base_dir value to the chmod calls when using ftp commands
Fixed: mysql_query calls changed to $modx->db->query
Fixed: Trailing slash removed from path in mkdir calls, there is a bug in php on some versions what will choke on this
Fixed: Upload process checks that was the picture moved ok from temp location before it starts to process the file
Fixed: If ftp commands are enabled, also all chmod operations will be done by using ftp commands
Changed: Improved error messaging for picture upload issues
Changed: Remove empty lines from outputted html source
Fixed: Improved error handling on file upload
Fixed: FTP mode upload CHMOD bug
Changed: Smoothgallery updated to 2.0 and added new parameters accordingly
Added: &chmod_folders and &chmod_files parameters.
Added: &htmlentities_charset parameter, what is used only in slidebox xml file since htmlentities conversion is done by phx.
Added: Possible to use @CHUNK binding in template parameters. Does just the same if no binding is set at all.
Fixed: Too high css z-index value for Safari
Fixed: Resync issue when &keep_bigimg=1
Added: Copies index.html from assets/galleries to newly created gallery folders to prevent file listing
Added: "random" parameter value to &childgalleries_order_by
Changed: Smoothgallery variables to strings as they go straight to the js script and setlocale was messing with commas/dots
Fixed: Extra ul tags after last thumbnail in page
Fixed: CHMOD uploaded files correctly
Added: &disable_draggable_js parameter
Added: Following placeholders to galleryPictureTpl and childgalleryTpl, [+maxigallery.rownumber+] [+maxigallery.picnumber+] [+maxigallery.picpagenumber+] [+maxigallery.picrownumber+]
And here’s new parameters:
From SmoothGallery 2.0 integration:
smoothgallery_preloader
smoothgallery_preloaderImage
smoothgallery_preloaderErrorImage
smoothgallery_populateFrom
smoothgallery_populateData
smoothgallery_destroyAfterPopulate
smoothgallery_elementSelector
smoothgallery_titleSelector
smoothgallery_subtitleSelector
smoothgallery_linkSelector
smoothgallery_imageSelector
smoothgallery_thumbnailSelector
smoothgallery_defaultTransition
smoothgallery_slideInfoZoneSlide
smoothgallery_thumbIdleOpacity
smoothgallery_showCarouselLabel
smoothgallery_thumbCloseCarousel
smoothgallery_useExternalCarousel
smoothgallery_carouselElement
smoothgallery_carouselHorizontal
smoothgallery_activateCarouselScroller
smoothgallery_carouselPreloader
smoothgallery_textPreloadingCarousel
smoothgallery_baseClass
smoothgallery_withArrowsClass
smoothgallery_useHistoryManager
smoothgallery_customHistoryKey
smoothgallery_gallerySelector
smoothgallery_galleryTitleSelector
smoothgallery_textGallerySelector
smoothgallery_textShowGallerySelector
smoothgallery_textGalleryInfo
smoothgallery_startWithSelector
disable_draggable_js : disables the js for draggable sorting in picture management
htmlentities_charset : charset for slidebox xml
chmod_folders : chmod value for folders
chmod_files : chmod value for files
childembedtype : possible values normal, slidebox, lightboxv2, slimbox, smoothgallery
childgalleryPictureTpl : used for childembedtype
customFields : adds custom fields to pictures.
Few notes:
If you want to use &customFields parameter, remember to add placeholders to managePictureTpl to manage your custom fields (for example copy the existing description field code and change the field name to your custom field name). Also remember to add placeholders to galleryPictureTpl or pictureTpl if you want to show your customfields.. The custom fields feature is done so that it adds the custom fields straight to maxigallery db table via alter table.. So it would be a good convention to use own db table (>able) each time you use custom fields, but not required. Galleries can also be sorted by custom fields.. and childgalleries can be sorted by tv names (new feature).
&childembedtype=`smoothgallery` uses the new gallery set feature of SmoothGallery 2.0 to show the child galleries. In SmoothGallery 2.0 you can also have external thumbnail carousel (&smoothgallery_useExternalCarousel and &smoothgallery_carouselElement).