We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25058
    • 11 Posts
    Quote from: goldsky at Mar 06, 2011, 06:48 PM

    I would suggest you to ignore that error.
    Post that as the evo’s bug to http://bugs.modx.com .
    Thanks for the advice, I decided not to pay attention to this problem, just wanted to completely correct operation of the module, as well as such does not and it works.
    Thank you again for your answers.
      • 25058
      • 11 Posts
      Have a question for the gallery smoothgallery `and its configuration timedgallery.
      Clicking on image opens his original on the same page, is it possible to add a back button?
        • 18913
        • 654 Posts
        I took a quick look at the easy2 placeholders and at a glance didn’t see one that points back to the calling gallery.

        What I’d do is create a landing page (let’s say its resource id ends up being 94) and on it’s page I’d put
        [!easy2? &landingpage=`94`!]
        

        and below that put (from a quick google search, not necessarily fool-proof)
        <FORM><INPUT TYPE="button" VALUE="Back" onClick="history.go(-1);return true;"></FORM> 
        


        In your original easy2 call, you’d also have to add the same landing page parameter.

        Your landing page could be customized with a chunk pointed to by the &page_tpl parameter on that landing page call, if you wanted to.

        Hope that helps,
        Matt
          • 11055 ☆ A M B ☆
          • 3,112 Posts
            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.
            • 25058
            • 11 Posts
            Quote from: mconsidine at Mar 08, 2011, 09:53 AM

            I took a quick look at the easy2 placeholders and at a glance didn’t see one that points back to the calling gallery.

            What I’d do is create a landing page (let’s say its resource id ends up being 94) and on it’s page I’d put
            [!easy2? &landingpage=`94`!]
            

            and below that put (from a quick google search, not necessarily fool-proof)
            <FORM><INPUT TYPE="button" VALUE="Back" onClick="history.go(-1);return true;"></FORM> 
            


            In your original easy2 call, you’d also have to add the same landing page parameter.

            Your landing page could be customized with a chunk pointed to by the &page_tpl parameter on that landing page call, if you wanted to.

            Hope that helps,
            Matt

            Thank you very much, everything turned out fine
              • 18913
              • 654 Posts
              An image ordering problem...

              Okay - I’m using smoothgallery with the zoom configuration. Everything is working fine except for the order the images are being displayed. They images in the relevant gallery are named something like image1, image2, image3, etc. There are 12 in all. And their ID are also in ascending order (something like 23, 24, 25, etc.).

              The first time I noticed a problem was when the first and second images were shown in reverse order. I cleared the site cache, the gallery cache, checked to make sure the gallery id was correct as well as the image ids. Everything seemed fine. Nevertheless, I deleted the images and reuploaded, making sure they were sent up in the order I wanted them displayed. This time, the image that was supposed to be second showed up in fourth and vice-versa. The first image was okay.

              The image ids are all in ascending order, although not starting at "1".

              Is there something I’m missing? Can I force these to be displayed in some order (I tried &order=`ASC` but that had no effect).

              Any help would be appreciated!
              Matt
                • 11055 ☆ A M B ☆
                • 3,112 Posts
                @mconsidine,
                order depends on 2 ways:

                • your explicit snippet call
                • your module’s setting: Menu > Config > Thumbnails > Display settings
                So check those first.
                It might turn out that the &order=`ASC` is applied to &orderby=`date_added` or else.
                  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.
                  • 18913
                  • 654 Posts
                  @goldsky : thanks. Both the thumbnails and slideshow sort settings default to time created. But when I looked at the timestamps of the thumbnails I see that they were created in the order they are showing up in the gallery. That is, for whatever reason, their timestamps are a slightly different order than which the main images were uploaded.

                  Wouldn’t it be better to use the time stamp/order of the images uploaded rather than the creation time of the thumbnails? In the case I looked at, images were uploaded in order 1,2,3,4 but the timestamps of thumbnails/resized images were in order 1,4,3,2 (thumbnail image #2 was 1 second later in being created.)

                  Anyway, that seems to be the root of the confusion. Changing the sort preference to filename should take care of it in anycase.

                  Thanks!
                  Matt
                    • 11055 ☆ A M B ☆
                    • 3,112 Posts
                    Quote from: mconsidine at Mar 09, 2011, 08:37 PM

                    Anyway, that seems to be the root of the confusion. Changing the sort preference to filename should take care of it in anycase.
                    &orderby applies to all the existing field names, so &orderby=`filename` should work.
                      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.
                      • 36832
                      • 22 Posts
                      Hi,

                      I have installed Easy2 on several MODX installations by now, it works really great.
                      For a reason, today I installed MODX onto other server and tried to install Easy2 module and after clicking the Easy2Gallery tab inside the Modules,
                      a blank page is showing up, instead of the usual module’s panel install content.
                      What shall be?

                      Thanks,
                      Alex

                      MODX EVO 1.0.5 (installed all recommended requirements) / MYSQL 5.0.26-Max / PHP 5.3.5