diff --git a/code/SiteTreeSubsites.php b/code/SiteTreeSubsites.php index 14f13fa..a79e5e8 100644 --- a/code/SiteTreeSubsites.php +++ b/code/SiteTreeSubsites.php @@ -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(); + } } ?> \ No newline at end of file