We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20079
    • 49 Posts
    I want a blog that will show one whole post at the time without archives, read_more links and comments. (portfolio items)

    Right now i use:
    [[NewsListing? startID=`2` &paginate=`0` &summarize=`1` &trunc=`false` &showarch=`0`]]

    The problem is that current code still shows just a part of the first entry. (+ it added <code> tags to the output (wdf????) )
    I understand i use &trunc wrong. &trunc=`0` did not work for me as well. The documentation for News Listing snippet imho is poor. At least I could not figure it out myself.

    http://modxcms.com/blog-step-one.html
    http://modxcms.com/NewsListing.html

    Can someone please lead me to solution for this one?
    thnx.
      • 20079
      • 49 Posts
      I’m confused--
      &trunc=`0` works on MSAS localhost (default modx 0.9.1 install), but the same code won’t do the job for the website i’m working on.
      // hard 2 be a lame.
        • 25663 MODX Staff
        • 12,272 Posts
        Are the newslisting versions the same?
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 20079
          • 49 Posts
          They are the same. Copy - Paste from one to another.
            • 18397
            • 3,250 Posts
            &trunc=`false` will not work because of phps funkiness. To tell the snippet to use false use this: &trunc=`0`.