We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11055 ☆ A M B ☆
    • 3,112 Posts
    updated: e2g-1.4.0-rc1-r259.zip


    • fixed the resizing type of the image creation for the slideshow
    • added new slideshow’s config tab in Module (attachment)
    • added parameters: &ss_orderby, &ss_order
    • updated the english help file

    run the installer.

    If you find a bug, please post here.
      Rico
      Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
      MODx is great, but knowing how to use it well makes it perfect!

      www.virtudraft.com

      Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

      Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

      Maintainter/contributor of Babel

      Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
      • 11055 ☆ A M B ☆
      • 3,112 Posts
      I forgot to mention another new important update for this revision:

      This update is included the change on the thumbnail images.
      Thumbnail now uses document ID and session ID to separate between different snippet calls on the same/different page(s) with different settings which (unfortunately) with the same dimension.

      So, the result of the different snippet calls of different settings (eg: resize_type) to the same dimension will give you more reliable output. This goes to the thumbnails AND (generated images) slideshows.
        Rico
        Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
        MODx is great, but knowing how to use it well makes it perfect!

        www.virtudraft.com

        Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

        Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

        Maintainter/contributor of Babel

        Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
        • 15197
        • 65 Posts
        Thanks so much, @goldsky! I installed the new version and everything works perfectly now. I’ll let you know if I run into anything else.
          • 15197
          • 65 Posts
          I ran into one more thing. It’s not a big deal to me, but just thought I’d let you know. In the new ss config area, I tried entering ’all’ as you suggested for &ss_limit=, but got the following error on the page where the slideshow should display.

          snippet calls wrong gallery id:5, order, or wrong limit.
          SELECT * FROM mod_easy2_files WHERE dir_id IN (5) AND status = 1 ORDER BY date_added ASC LIMIT 0, all
          You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all' at line 1 


          I had used all in the box on it’s own, with no punctuation. Easily fixed by using a number, but, just to let you know... And if ’all’ is supposed to have any punctuation around it and this was my error, maybe a bit of clarification in the instructions?
            • 11055 ☆ A M B ☆
            • 3,112 Posts
            geez... it supposed to be &ss_limit=`none`
            sorry sad

            EDIT:
            It looks like I have changed the tutorial. Not affected in your installation?
            * &gid
            * &fid
            * &rgid
            * &ss_limit - default: config’s setting
            to set how many images the slide show should retrieve from the gallery ID.
            More images means longer page loading!
            Options : int | ’none’
            Default : config’s setting
            * &ss_orderby - default: config’s setting
            * &ss_order - default: config’s setting
              Rico
              Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
              MODx is great, but knowing how to use it well makes it perfect!

              www.virtudraft.com

              Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

              Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

              Maintainter/contributor of Babel

              Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
              • 23072
              • 150 Posts
              Hi goldsky

              Thanks for a fantastic MODx module - I’ve encountered just a few bugs in the latest version, some of which I suspect may be bugs in some of the slideshows themseleves.

              Using slimbox 1.x as the slideshow, the image number says Im1age instead of Image. I can’t see where this typo is to be honest as it doesn’t appear to be in the templates as far as I can tell.

              Using Shadowbox, long titles get cut off rather than wrapping round onto a new line. Is there any way around this? Compare the Shadowbox example attached to the Slimbox1 example to see the full filename.

              Using Slimbox 2.x, it currently pops up two Slimboxes instead of one. Is there any way to stop this from happening?

              And finally, using ANY slideshow, the title seems to get a - (hyphen) attached to the end of it for no reason. Any way to stop that as well?

              Many thanks!
                Notanotherdotcom Ltd

                Web | Print | Marketing
                • 11055 ☆ A M B ☆
                • 3,112 Posts
                @pete,
                You have a strange issue here.
                Did you make your custom settings to the javascript files?
                Since I don’t see the similar problem in my test site, do you mind to PM me your site?

                About the ’-’ (hyphen), it’s in the thumbnail.htm template, between title and summary:
                <a href="[+easy2:link+]" title="[+easy2:title+]-[+easy2:summary+]" [+easy2:glibact+]>
                

                after copy and repath the default template path to your new template path (recommended), you can just delete "-[+easy2:summary+]"
                  Rico
                  Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
                  MODx is great, but knowing how to use it well makes it perfect!

                  www.virtudraft.com

                  Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

                  Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

                  Maintainter/contributor of Babel

                  Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
                  • 23072
                  • 150 Posts
                  I’ve not made any changes to the javascript files - I’ve PM’d you the URL so you can have a look.

                  Thanks for pointing out where the hyphen was - can I suggest that instead of it being in the template it could be in the code so that if there is no summary then it doesn’t display the hyphen? That way you could also have it as a parameter in the snippet call instead, so people can still replace it with a linebreak or other character.

                  I fixed the titles in Shadowbox.css to wrap over as many lines as they need by changing

                  #sb-title,#sb-title-inner{height:26px;line-height:26px;}


                  to

                  #sb-title,#sb-title-inner{height:auto;line-height:20px;}


                  I realise this isn’t an issue in the Easy2Gallery code, but someone else might find it useful anyway smiley Maybe that one CSS value could be overridden by the Easy2Gallery code? That way it works perfectly and doesn’t get broken again by newer versions of Shadowbox wink
                    Notanotherdotcom Ltd

                    Web | Print | Marketing
                    • 11055 ☆ A M B ☆
                    • 3,112 Posts
                    Quote from: Pete at Jul 26, 2010, 02:04 PM

                    I’ve not made any changes to the javascript files - I’ve PM’d you the URL so you can have a look.
                    got it, thx
                    Quote from: Pete at Jul 26, 2010, 02:04 PM

                    Thanks for pointing out where the hyphen was - can I suggest that instead of it being in the template it could be in the code so that if there is no summary then it doesn’t display the hyphen? That way you could also have it as a parameter in the snippet call instead, so people can still replace it with a linebreak or other character.
                    isn’t that easier to change the template?
                    this one is about detailing, but if the snippet goes too detail on everything, the user will get confuse, no?
                    Quote from: Pete at Jul 26, 2010, 02:04 PM

                    I fixed the titles in Shadowbox.css to wrap over as many lines as they need by changing

                    #sb-title,#sb-title-inner{height:26px;line-height:26px;}


                    to

                    #sb-title,#sb-title-inner{height:auto;line-height:20px;}


                    I realise this isn’t an issue in the Easy2Gallery code, but someone else might find it useful anyway smiley Maybe that one CSS value could be overridden by the Easy2Gallery code? That way it works perfectly and doesn’t get broken again by newer versions of Shadowbox wink
                    Aahhh... thx for the hint.
                      Rico
                      Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
                      MODx is great, but knowing how to use it well makes it perfect!

                      www.virtudraft.com

                      Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

                      Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

                      Maintainter/contributor of Babel

                      Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
                      • 13137
                      • 204 Posts
                      The problem you are experiencing with Slimbox, I believe is a Slimbox bug, as I had that problem using it with Maxigallery on previous site.

                      The css "wrap" change you made will be useful for me too, thanks.