Adds the ability for users to control the default CMS sticky menu setting for their login
Adds the ability for users to control the default CMS sticky menu setting for their login.
Based on the ideas from Webbuilders Group's CMS Preview Preference module.
- SilverStripe CMS 5.x
Install the module using composer:
composer require innoweb/silverstripe-cmsstickymenupreference dev-master
Then run dev/build.
The default menu mode is set to "default", you can change this in your config by setting the UserMenuPreference.DefaultMode setting to one of the following: "open", "closed" or "default".
Innoweb\CMSStickyMenu\Model\UserMenuPreference: DefaultMode: 'open'
When managing a user or a user views their profile in the CMS they will see the ability to toggle which menu mode is their default menu mode, after changing this the user will be asked to reload the cms to update the setting.
BSD 3-Clause License, see License