I’m assuming that you’re using getResources to get the posts. In that case, you want to put the tags for the fields you want in the getResource Tpl chunk, using tags like this:
not like this:
If there’s something that getResources won’t get, (e.g., the parent pagetitle), you can create a custom snippet to retrieve it -- something like this:
[[!ParentPagetitle? $pid=`[[+parent]]` ]]
<?php
/*ParentPagetitle snippet */
$parent = $modx->getObject('modResource', $pid) ;
if ($parent) {
return $parent->get('pagetitle');
}
You might also be able to use getResourceField in the Tpl chunk instead of the custom snippet if GRF will get the parent pagetitle rather than the ID.