This feature is designed to be used by sites that wants to take control of theme configuring. A common use case would be having a hosted location for all the themes, and the dashboards are all configured with predefined themes. A new variable called PI_STYLES_EXTERNAL_THEME_PATH
is created.
when it’s not set, the theme path is the default theme path
when it’s set
the theme path becomes a network path specified
the CSS Styles tab on the config screen is removed (network files are read only)
user account page doesn’t have the drop down for a user to select their own theme
Successful or failed setup for system variables
PI_STYLES_EXTERNAL_THEME_PATH
(on the admin Settings page)When accessing the external theme has failed, the system falls back to the system default theme
When saving the theme is successful, the system reflects the theme setup straight away
User account page changes
When saving a theme of choice is successful, the system reflects the theme setup straight away, and no longer requires refreshing the browser
You can set the themes to come from a remote site. This would make them read-only which means you'd have to edit them on a separate dashboard and then upload them to that remote repository.
This is done via editing the "PI_STYLES_EXTERNAL_THEME_PATH" variable setting (as per our variables documentation) in the Settings screen of Dashboard Configuration:
Add Comment