We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22835
    • 54 Posts
    Here's what's in the "listing" chunk

    <div class="grid-item">
    
      <div class="grid-thumb">
    
         <img src="[[+tv.thumbnail]]" width="170" height="110" />
       </div>
    
       <h6 class="filmtitle">[[+pagetitle]]</h6>
    
       <div class="filmdetail">
       [[+tv.filmdetails]]
    
    
       </div>
    
      <a href="[[~[[+id]]]]">Read more »</a>
    
    </div>
    <!-- grid item ---------------------------------------------------->
      • 22835
      • 54 Posts
      @paulp
      I've just inserted the 2 extra parameters into that getResources snippet see below.

       &includeTVs=`1`
       &processTVs=`1`
       &includeTVList=`thumbnail, filmdetails`
       &processTVList=`thumbnail, filmdetails`
       &tvFilters=`date==20 June 2013`


      But now the the filmdetails TV is not showing on the page. I've discovered that it's not recognizing my comma-delimited list. It only ever shows the first TV.

      What's going wrong with the list, it's formatted right!? [ed. note: pauloneill79 last edited this post 13 years, 4 months ago.]
        • 3109 ☆ A M B ☆
        • 894 Posts
        Are you using pagination? If not that right there is your issue you are setting the minimum limit of resources to return to 900 and you are also processing TV's which also slows GR down some more.

        So try using pagination as outlined here in the Using getPage for Pagination and set your limit to something like 20 and I'm sure it will solve your issues.

        Good Luck.
          Benjamin Marte
          Interactive Media Developer
          Follow Me on Twitter | Visit my site | Learn MODX
          • 22835
          • 54 Posts
          @benmarte, I'm going to use getPage on the "view all" page as that's particularly slow. The other pages have only on average 10-15 resources so they don't need pagination.
            • 22840
            • 1,572 Posts
            Quote from: pauloneill79 at Jun 08, 2013, 08:04 AM
            @paulp
            I've just inserted the 2 extra parameters into that getResources snippet see below.

             &includeTVs=`1`
             &processTVs=`1`
             &includeTVList=`thumbnail, filmdetails`
             &processTVList=`thumbnail, filmdetails`
             &tvFilters=`date==20 June 2013`


            But now the the filmdetails TV is not showing on the page. I've discovered that it's not recognizing my comma-delimited list. It only ever shows the first TV.

            What's going wrong with the list, it's formatted right!?

            There shouldnt be a space

             &includeTVs=`1`
             &processTVs=`1`
             &includeTVList=`thumbnail,filmdetails`
             &processTVList=`thumbnail,filmdetails`
             &tvFilters=`date==20 June 2013`
              • 11055 ☆ A M B ☆
              • 3,112 Posts
              How do you set the thumbnail?
              Sometimes, image generation takes the time.
              Especially if the original one is more than 3MB.
              To see the difference, try to use Executioner snippet, and wrap the getPage/getResources snippet with and without thumbnail.

              If it does, use phpThumbOf or phpThumbsUp to shrink the size of the images. [ed. note: goldsky last edited this post 13 years, 4 months ago.]
                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.
                • 22835
                • 54 Posts
                @goldsky
                phpThumbOf would be the clever way to do it but unfortunately my solution is a bit retro.. the client has a designer with a copy of Photoshop who resizes the images