Can I get the menu title based off of the parent id?
I have seen this code which will get the parent title but I would like the menu title of the parent.
To get the document title, use
$r = $modx->getPageInfo($id,1,'pagetitle');
if($r){
$pagetitle = $r['pagetitle'];
}