Object::add_extension('SiteTree', 'MetaManagerDataDecorator'); /** * Set wether to disable the annoying update url popup * You probably don't want to change your everytime a title change. Google don't like that. * Edit : SS does change the urls and throws a 301 permanently moved header * Changed to hide the popup, but do alter the url. * @param bool $disable_update_popup */ MetaManagerDataDecorator::set_disable_update_popup(1); /** * Set wether to update the urlsegment * @param bool $update_url */ MetaManagerDataDecorator::set_update_url(1); /** * Set wether to update the MetaTitle with Pagetitle * @param bool $update_meta_title */ MetaManagerDataDecorator::set_update_meta_title(1); /** * Set wether to update the MetaDescription * @param bool $update_meta_desc */ MetaManagerDataDecorator::set_update_meta_desc(1); /** * Set MetaDescription length