Try this:
Create a TV with these properties:
Variable name: includeDocs
Input Type: "DropDown List Menu" or a "Listbox"
Input Option Values:
@SELECT pagetitle,id FROM {prefix_}site_content WHERE parent={page_id} ORDER BY menuindex
where {prefix} is your modx table prefix and {page_id} is the parent container of the documents you want to be able to include. youll need to replace this yourself.(If you don't have a parent container adjust the SQL accordingly)
Default Value: @INHERIT
Assign it to the template of your choice.
Now create a new snippet (name it "includeDocument" for instance) and paste the following code:
<?php
$output = '';
/** A simple template to wrap around the included content
* Adjust as necessary... Classes are arbitrary - up to you*/
$includeTemplate = <<<EOD
<div class="includedDocument">
<div class="xHead"><h3>[+includedTitle+]</h3></div>
<div class="includedBody">
[+includedBody+]
</div>
</div>
EOD;
$docIds = $modx-> getTemplateVarOutput(array('includeDocs'),$modx->documentIdentifier);
if( count($docIds)>0 && !empty($docIds['includeDocs']) ){
$includeDocs = $modx->getDocuments(explode(',',$docIds['includeDocs']), 0, 0, "id,longtitle,content");
foreach ($includeDocs as $doc){
$item = str_replace('[+includedTitle+]',$doc['longtitle'],$blockTemplate);
$item = str_replace('[+includedBody+]',$doc['content'],$item);
$output .= $item;
}
}
return $output;
?>
Last thing to do is to place a snippet call in your document template [[includeDocument]]
This will give you a list of documents to choose from when you edit a page in the manager. And the snippet will fetch the document content based on the choice you made in the TV.
Hope this is more or less what you are trying to achieve...