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
    no, that’s why its name is Evo* smiley
      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.
      • 27444 ☆ A M B ☆
      • 117 Posts
      sad

      Is there a good alternative to it?
        Steven James McLean
        Tech Lead
        springbokagency.com
        • 11055 ☆ A M B ☆
        • 3,112 Posts
        for Revo?
        currently is only Gallery, get it from the package manager inside your modx’s manager

        other galleries are under porting. wink
          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.
          • 27444 ☆ A M B ☆
          • 117 Posts
          EvoGallery is fantastic ... we need RevoGallery to be developed!
            Steven James McLean
            Tech Lead
            springbokagency.com
            • 27421
            • 67 Posts
            Will the "limit" property work with "galleries" display? Is there a way to make it work like the Ditto ’&display’ property where you can specify the number of results you would like it to display?
              • 4385
              • 372 Posts
              What am I missing?

              I can display mode images to work, but I can’t get galleries to work.

              [!EvoGallery? &display=`images` &docId=`21` &type=`photobox`!]  
              
              [!EvoGallery? &display=`galleries`!]
              [!EvoGallery? &display=`galleries` &docId=`0`!]  
              [!EvoGallery? &display=`galleries` &docId=`20`!]
              [!EvoGallery? &display=`galleries` &docId=`21`!]
              [!EvoGallery? &display=`galleries` &docId=`23`!]  
              
              


              I only get the images to display.
                DropboxUploader -- Upload files to a Dropbox account.
                DIG -- Dynamic Image Generator
                gus -- Google URL Shortener
                makeQR -- Uses google chart api to make QR codes.
                MODxTweeter -- Update your twitter status on publish.
                • 27421
                • 67 Posts
                Is there a way to display [+pagetitle+] when using the ’images’ display? I’ve tried using ’Getfield’ along with [+content_id+] , but so far no luck. I’m using ditto along with EvoGallery because I want to limit the number of images displayed from a ’gallery’ display. I also want to pass the pagetitle along with a tv for product price to ditto.
                  • 24393
                  • 83 Posts
                  @bohdiC: I added a limit to the galleries mode by making the following change around line 89 of gallery.class.inc.php:
                  //		$result = $modx->db->select("id, pagetitle, longtitle, description, alias, pub_date, introtext, editedby, editedon, publishedon, publishedby, menutitle", $modx->getFullTableName('site_content'), $filter, $this->config['gallerySortBy'] . ' ' . $this->config['gallerySortDir']);
                  		$result = $modx->db->select("id, pagetitle, longtitle, description, alias, pub_date, introtext, editedby, editedon, publishedon, publishedby, menutitle", $modx->getFullTableName('site_content'), $filter, $this->config['gallerySortBy'] . ' ' . $this->config['gallerySortDir'],(!empty($this->config['limit']) ? $this->config['limit'] : ""));


                  You should be able to use the [+pagetitle+] placeholder in galleries mode.

                  However, I am trying to fetch the first image from 5 random galleries, and I’m not having any luck so far. Any ideas?

                  @bwente In galleries mode, the docId points to a parent resource.
                    stevesunderland.com
                    GRAPHICS | INTERACTIVE | MARKETING
                    xhtml + ajax + seo websites powered by modx
                    • 4385
                    • 372 Posts
                    @stevesunderland Thanks I wasn’t sure that the docId was required. I put so many ids in just to see if I could get it to work.

                    Still no luck. I even put in `*` and that did not work. The galleries are associated to child resources, would that matter?
                      DropboxUploader -- Upload files to a Dropbox account.
                      DIG -- Dynamic Image Generator
                      gus -- Google URL Shortener
                      makeQR -- Uses google chart api to make QR codes.
                      MODxTweeter -- Update your twitter status on publish.
                      • 36926
                      • 701 Posts
                      Quote from: bodhiC at Jul 26, 2010, 11:08 AM

                      I’m using ditto along with EvoGallery because I want to limit the number of images displayed from a ’gallery’ display.

                      Hey bodhiC, are you managing to get ditto pagination to work with this gallery?