Hi All,
What I want to do is have some documents which are used by other documents (in a sidebar). I got as far as a snippet like this, but it breaks the site :-(
<?php
$result = '';
$docid = (isset($docid))?$docid:109;
$mydoc = $modx->getDocument($docid, '*', 0);
//$result = $modx->outputContent(parseDocumentSource($mydoc['content']));
return $result;
?>
If I just include the content variable of the document, it doesn’t evaluate snippets/chunks. Does anybody know how I might achieve this?
Cheers
Troot