mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-09-30 05:09:15 +02:00
Used updates in r41285 to have appropriately generated links from the CMS to the subsites
This commit is contained in:
parent
edb82dd8a3
commit
b38ae7a66f
@ -128,6 +128,10 @@ class SiteTreeSubsites extends DataObjectDecorator {
|
|||||||
// Need to set the SubsiteID to null incase we've been in the CMS
|
// Need to set the SubsiteID to null incase we've been in the CMS
|
||||||
Session::set('SubsiteID', null);
|
Session::set('SubsiteID', null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function alternateAbsoluteLink() {
|
||||||
|
return "http://" . $this->owner->Subsite()->domain() . $this->owner->Link();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user