PreviewSettings

previewsettings

  • By matdave
  • Latest release March 4, 2022 (4 years ago)

About

With PreviewSettings you will be able to override system settings or create unique settings just for logged in manager users. Need to bypass a firewall when logged in? Just add a unique **ps.site_url** to your context.

Installation & usage

## Setup The following system settings will be added in order to configure who has access to view the site with your preview settings. ### previewsettings.preview_groups Comma separated list of User Groups which the preview settings will work for. _Defaut: Administrator_ ### previewsettings.manager_only A Yes/No field that limits the preview settings to only be enabled if the user has logged in via the Manager. _Default: Yes_ If both `preview_groups` is empty and `manager_only` is set to "No", then only _sudo_ users will have access to the preview settings. ## Creating Preview Settings Preview settings can live along side your regular settings in either the System Settings, Context Settings, User Settings or User Group Settings. To create a preview settings, simply create a duplicate of your regular setting with the key prefixed with `ps.`. **Example** | Key | Value | |-------------|-----------------------------| | site_url | https://example.com | | ps.site_url | https://staging.example.com |

At a glance

MODX 3 compatibility unknown. Based on our testing and community reports where available.

  • Developer matdave
  • Latest release March 4, 2022 (4 years ago)
  • First seen in SiteDash March 4, 2022 (4 years ago)
  • License MIT
  • MODX support 2.0 – 100.0

Releases 2 indexed releases

Changelog
MODX.com

1.1.0-pl

March 4, 2022

4 years ago

- Allow to work with the Resource Tree
- Prevent caching resource when in use
MODX.com

1.0.0-pl

March 2, 2022

4 years ago

—