modxcms/Login — pull request #5 by galdiolo (2014-02-21 00:00:28+00:00)
Title: getChunk instead of parseChunk

I experienced missing pieces from templates with parseChunk.
Using getChunk solved the issue.

opengeek (MODX Staff) wrote:
"In Revo there is not much difference, other than the placeholders with parseChunk are only set for the scope of the call."
"I suppose parseChunk might be useful in certain situations, but it was originally kept there only for backwards compatibility with Evo API calls."

References
http://forums.modx.com/thread/35455/parsechunk-or-setplaceholder-w-getchunk
http://forums.modx.com/thread/75790/output-modifiers-parsechunk-and-getchunk