Used updates in r41285 to have appropriately generated links from the CMS to the subsites

This commit is contained in:
Sam Minnee 2007-09-05 06:42:57 +00:00
parent edb82dd8a3
commit b38ae7a66f

View File

@ -128,6 +128,10 @@ class SiteTreeSubsites extends DataObjectDecorator {
// Need to set the SubsiteID to null incase we've been in the CMS
Session::set('SubsiteID', null);
}
function alternateAbsoluteLink() {
return "http://" . $this->owner->Subsite()->domain() . $this->owner->Link();
}
}
?>