Skip to content

helpfulrobot/webbuilders-group-silverstripe-cmspreviewpreference

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMS Preview Preference

Adds the ability for users to control the default CMS preview mode and size for their login.

Maintainer Contact

Requirements

  • SilverStripe CMS 3.1+

Installation

Usage

When managing a user or a user views their profile in the CMS they will see the ability to toggle which preview mode is their default preview mode, after changing this the user will be asked to reload the cms to update the setting.

Default Preview Mode

The default preview mode is set to "content", you can change this in your config by setting the UserPreviewPreference.DefaultMode setting to one of the following: "content", "split" or "preview".

UserPreviewPreference:
    DefaultMode: "split"

About

Adds the ability for users to control the default CMS preview mode and size for their login

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 93.5%
  • JavaScript 6.5%