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
    A new version with bugfixes and some new features has been released.

    Get it here.

    What’s new/fixed in this version:

    • Added: Gallery resynch feature. Possible to upload pictures into galleries via FTP.
    • Added: maxigallery.managebutton placeholder to pictureTpl (to be used with pictureview display mode)
    • Fixed: In picture management, mooSortables is now always included to make the sorting window work (you can still use prototype/scriptaculous for the actual sorting)
    • Fixed: Do not register smoothgallery scripts if there aren’t any pictures in a the gallery (made multiple smoothgalleries on same page break)
    • Added: &childgalleries_limit parameter to define how many childgalleries to retrieve, defaults to all
    • Removed: Forced black border css setting in smoothgallery divs
    • Added: &smoothgallery_id parameter to allow multiple smoothgalleries on same page
    • Added: [+maxigallery.config.<snippet parameter>+] placeholders to all templates
    • Removed: Outdated language files (only English and Finnish now)
    • Fixed: &query_level_limit parameter was not working as it should
    • Changed: Random sort order now uses mysql rand() instead of php shuffle

    • Fixed: Childgalleries display mode (did not show all galleries)
    • Added: "pictureview" option to &display parameter what makes maxigallery go straight to picture view when gallery is displayed
    • Added: &pictureview_start_id and &pictureview_start_pos parameter to define picture id or position where to start in pictureview display option, default is first picture
    • Added: &ftp_base_dir parameter to define path to modx folder from ftp root
    • Fixed: Flush resources when image conversions are done

    Also the Maxigallery Wiki page has gone through a major update. The parameters and other information now correspond to v0.5.1 version and some examples etc. have been added. I suggest to read it.

    Change log is attached to this post.

    Translation thread here.


      "He can have a lollipop any time he wants to. That's what it means to be a programmer."
      • 2883
      • 4 Posts
      Probably, I have found a bug. Styles (default.css) are not attached to page when I write MaxiGallery
      [!MaxiGallery? &display=`childgalleries`!]

      or
      [!MaxiGallery? &css=`mg_css` &display=`childgalleries`!]
      (Where `mg_css` - my Chunk which contains my styles )
      But, when I write MaxiGallery
      [[MaxiGallery? &display=`embedded` &embedtype=`slidebox` &pics_in_a_row=`3` &max_thumb_size=`150` &max_pic_size=`0`]]

      All works ok, styles are attached

      Sorry, I speak English badly.
        • 7923
        • 4,213 Posts
        Thanks for the bug report, I had made a mistake when I fixed another bug.. This should be now ok in the SVN code and to fix your copy change this in the end of maxigallery.php:

        if($_REQUEST['mode']!="admin" && count($pics)>0){ 
        	//add smoothgallery div css
        	if ($mg->mgconfig['display'] == "embedded" && $mg->mgconfig['embedtype'] == "smoothgallery") {
        		if ($mg->mgconfig['smoothgallery_id'] != -1){
        			$mg->regSmoothGalleryCSS($mg->mgconfig['smoothgallery_id']);
        		} else {
        			$mg->regSmoothGalleryCSS($pageinfo['id']);	
        		}
        	}
        	$mg->regScriptsAndCSS();
        }
        return;
        


        to:

        if($_REQUEST['mode']!="admin"){
        	if (count($pics)>0) {
        		//add smoothgallery div css
        		if ($mg->mgconfig['display'] == "embedded" && $mg->mgconfig['embedtype'] == "smoothgallery") {
        			if ($mg->mgconfig['smoothgallery_id'] != -1){
        				$mg->regSmoothGalleryCSS($mg->mgconfig['smoothgallery_id']);
        			} else {
        				$mg->regSmoothGalleryCSS($pageinfo['id']);	
        			}
        		}	
        	} 
        	$mg->regScriptsAndCSS();
        }
        return;
        


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 7923
          • 4,213 Posts
          New version, topic locked.


            "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.