sounds like an RTE gone awry.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
- 3,250 Posts
Actually Ryan, this is something I wrote the comments stripping function in NewsListing for. See, if UserComments isn’t called with a docid it uses the current document. When NewsListing aggregates the content of that document it uses the document NewsListing is on instead of the one UserComments is on. Simple fix, put the UserComments call in a chunk and call it in NewsListing like &commentschunk=`chunkname`. That way it will remove the UserComments before showing them in NewsListing. Then just add the UserComments call into the NewsListing template and add &docid=`[+id+]` to the call. Then all should work fine.
-
- 93 Posts
Aww sweeeet. You guys rock. Me so happy.