write(); } // ftRoot->ID is your root node $siteTree = $this->getSiteTreeFor("SiteTree", $ftRoot->ID); // This code is copied from getSiteTreeFor(), because getSiteTreeFor has it hard-coded to only generate if rootID = 0 $rootLink = $this->Link() . '0'; if($this->hasMethod('getCMSTreeTitle')) $treeTitle = $this->getCMSTreeTitle(); else $treeTitle = _t('LeftAndMain.SITECONTENTLEFT',"Site Content",PR_HIGH,'Root node on left'); $siteTree = ""; return $siteTree; } } ?>