Adds the ability for users to control the default CMS sticky menu setting for their login
Installs: 2 571
Open Issues: 0
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
Note: this version is compatible with SilverStripe 5. For SilverStripe 4, please see the 2 release line. For SilverStripe 3, please see the 1.0 release line.
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