-
MODX Staff
- 12,272 Posts
Should the newslisting snippet ignore docs marked deleted, but with the trash not emptied yet? I think it should, but it doesn’t currently.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
I think NewsListing even display un-published documents too..
-
MODX Staff
- 10,725 Posts
Actually, it’s using the API functions getActiveChildren and getAllChildren, which are not checking the deleted column in the table. There is an option to include only published or all documents.
-
☆ A M B ☆
- 24,524 Posts
Question: I see in the credits there is mention of
* 25-Nov-2005 added ability to call useful parts of the document object in a template via [+documentobject+] (Mark)
I don’t see how to make use of this. I need to use the "description" field as a placeholder for a template. I would prefer not to have to hack the snippet to enable this, and it seems like the above should do the trick.