diff --git a/src/Model/Extension/SeoPageExtension.php b/src/Model/Extension/SeoPageExtension.php index 56bcdeb..ce417df 100644 --- a/src/Model/Extension/SeoPageExtension.php +++ b/src/Model/Extension/SeoPageExtension.php @@ -150,6 +150,12 @@ public function updateCMSFields(FieldList $fields) // remove default SS field $fields->removeByName('MetaDescription'); + // This gives us a target to position other cms fields "before" + $fields->addFieldToTab( + 'Root.Main', + LiteralField::create('SEOMarker', '') // so we can position stuff above seo notice + ); + // SEO notice if (!$this->owner->MetaTitle || !$this->owner->MetaDescription) { $fields->addFieldToTab('Root.Main',