FIX should be
This commit is contained in:
parent
9b2dcc295f
commit
431cd38065
|
@ -75,7 +75,7 @@ class BlogPost extends Page {
|
||||||
|
|
||||||
// We're going to add the url segment to sidebar so we're making it a little lighter
|
// We're going to add the url segment to sidebar so we're making it a little lighter
|
||||||
$urlSegment = $fields->dataFieldByName('URLSegment');
|
$urlSegment = $fields->dataFieldByName('URLSegment');
|
||||||
$urlSegment->setURLPrefix('/' . Director::makeRelative($this->Parent()->Link()));
|
$urlSegment->setURLPrefix('/' . Director::makeRelative($self->Parent()->Link()));
|
||||||
|
|
||||||
// Remove the MenuTitle and URLSegment from the main tab
|
// Remove the MenuTitle and URLSegment from the main tab
|
||||||
$fields->removeFieldsFromTab('Root.Main', array(
|
$fields->removeFieldsFromTab('Root.Main', array(
|
||||||
|
|
Loading…
Reference in New Issue