Thanks for the reply OpenGeek, all my posts are nearly identical, I was looking for an dev answer as to why snippets were automatically echoing returned output, got the answer, thanks
If you don’t agree that it’s a good idea to output snippet return values, you’re free to use another CMS that you like better, or to write your own. As we often say here, MODx isn’t for everyone.
I’ve used a lot of different CMS systems and by far MODx is light years ahead of the rest, maybe I’ll try the bloatware that is Drupal, or maybe give J! a whirl, none of them compare in scalabilty, functionality or ease of use that MODx offers to devs or end users.
You see the thing with MODx is that I have the freedom to modify the document parser, or use an echo, or write a plugin to change the way the parser handles snippet output, or extend the parser class, or...etc...etc
I might not like the automatic echoing, but there are multiple ways around it so I’m happy.
Further discussion of what MODx "should" do with snippet return values is kind of pointless, though, and borders on trolling.
BobRay: If you actually read my posts - What I was looking for was answers as to why the parser does what is does...