We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15152
    • 360 Posts
    I can’t find this anywhere, but it probably has been answered before.

    I have a blog I’m building where on the front page I aggregate from multiple folders. However, there is one folder I always want to show on top if there is something active in it. (That’s a separate Ditto call.) How do I keep that from showing if there are no active documents?

    It’s a product sales/special folder. Underneath would be all kinds of different info.
      There are no boring projects. Only boring executions. ~ Etzkorn
      www.impress-design.com
      • 26016
      • 561 Posts
      That’s OK, I can understand, given how funky Ditto documentation is. smiley

      &noResults=` `


      ... and don’t forget the space in there.

      Cheers, Dave
        MODx and Wordpress development
        Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4
        • 15152
        • 360 Posts
        Thanks! Worked perfectly.
          There are no boring projects. Only boring executions. ~ Etzkorn
          www.impress-design.com
          • 7345
          • 12 Posts
          Hi all!
          I have the following problem. I tried to use &noResults parameter with {{chunk}} but the Ditto does not parse the content of the chunk corectly. For example, if the chunk is like this:
          <div class="noresult">
            <p>no result found</p>
          </div>


          in the source of the page I see only:
          <div clas


          huh

          MODx version is 1.0.4
          Ditto is 2.1.0