I’ve built a very simple snippet that allows content from another document being fetched like this
[[fetchContent?docid=11]]
And the snippet looks like this:
<?php
$docid = isset($docid) ? $docid : "";
if(empty($docid)) return "";
$doc = $modx->getDocumentObject('id',$docid);
return $doc['content']);
?>
So this works fine... but It’s not exactly what i want to do.
I want to be able to include an entire PARSED document with the same snippet call, and by fully parsed i mean the complete output as in the rendered content in the target documents template.
Is this even possible?
Thanks in advance
/Daniel