innoweb/silverstripe-cmsstickymenupreference

Adds the ability for users to control the default CMS sticky menu setting for their login

Installs: 3 314

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 1

Open Issues: 0

Type:silverstripe-vendormodule

3.0.0 2023-03-16 02:10 UTC

This package is auto-updated.

Last update: 2024-12-16 05:56:59 UTC


README

Version License

Overview

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.

Requirements

  • 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.

Installation

Install the module using composer:

composer require innoweb/silverstripe-cmsstickymenupreference dev-master

Then run dev/build.

Configuration

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'

Usage

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.

License

BSD 3-Clause License, see License