diff --git a/README.md b/README.md index d84e936..9dbff73 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,13 @@ This small module is to help you add the [Women's Refuge Shielded Site button](h This code will help you add the shield to your SilverStripe website. -Select the preferred size in your SiteConfig, and the `WomensRefugeShieldControllerExtension` will inject the necessary javascript and css in to your pages. +Select the preferred size in your SiteConfig, and the `WomensRefugeShield\ControllerExtension` will inject the necessary Javascript and CSS in to your pages. That's all there is to it. # Installation -Include the pride code with `composer require andrewandante/womens-refuge-shield` and select your preferred size in the CMS under Settings. +Include the shield code with `composer require andrewandante/womens-refuge-shield` and select your preferred size in the CMS under Settings. Large tab: diff --git a/code/SiteConfigExtension.php b/code/SiteConfigExtension.php index 70f1b8e..f8552de 100644 --- a/code/SiteConfigExtension.php +++ b/code/SiteConfigExtension.php @@ -20,10 +20,6 @@ class SiteConfigExtension extends DataExtension 'ShieldCode' => 'Int', ]; - private static $defaults = [ - 'UseShieldModuleJs' => false, - ]; - public function updateCMSFields(FieldList $fields) { $fields->addFieldsToTab('Root.Main', [