We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46073
    • 65 Posts
    Adding any filter to the
    [[+testimonial]]
    tag results in a blank paragraph. Am I missing something?

    [[!getImageList?
        &tvname=`testimonialRotate`
        &tpl=`@CODE:<div class="cycle"><p>[[+testimonial:limit=`300`]]</p><p align="right"><a href="#">Read More</a></p></div>
      `]]
    
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      I don't know if this is the case here, but I just had an output modifier wipe out the whole upper part of the page's HTML. Turned out I had a missing set of closing tag brackets in the template's HTML head that wasn't showing up in any obvious way until I tried using a modifier later in the content. So you might want to try validating the page to see if there's something along those lines in your HTML.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 46073
        • 65 Posts
        I've looked it over and everything seems to be in order, but still no filter functionality. Any other suggestions?
          • 6629
          • 60 Posts
          If you want to use filters in your getImageList-tpl, you have to use a chunk instead of @code.
            • 46073
            • 65 Posts
            PERFECT! Thank you! I will forevermore know that filters don't work in @code: