[UISwitch_design]
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
The group [UISwitch_design] of settings/uiswitch.ini.
File
settings/uiswitch.ini; override it in settings/override/uiswitch.ini.append.php, in a siteaccess or in an extension.
Settings
| Setting | Default | Description |
|---|---|---|
| Class | expUISwitchDesignProvider | The design of the administration interface: site.ini [DesignSettings] SiteDesign and AdditionalSiteDesignList[] for this user's requests. Policy: uiswitch/design. |
| Enabled | true | |
| AllowedValues[] | admin4l; admin4; admin3; adminui; admin; admin_classic | The designs a user may choose, in toolbar order. A design is offered only when it has a DesignChain[] entry below and the design exists (design/<design>, or design/<design> of an active design extension); the siteaccess's own SiteDesign is always offered and choosing it clears the switch. adminui needs the exp_adminui extension active on the siteaccess (its design is then a design extension), admin_classic the sevenx_themes_admin_classic extension. Every design offered must render the right toolbar (toolbar/full/admin_ui_switch.tpl), or a user who chose it cannot choose again. The current designs come first, the older ones (AdminUI and the classic designs, labelled "(older)") last. |
| DesignChain[<key>] | admin4l=admin4;admin3;admin2;admin; admin4=admin3;admin2;admin; adminui=admin4l;admin4;admin3;admin2;admin; admin3=admin2;admin; admin=; admin_classic=admin | The fallback designs each choice runs with (AdditionalSiteDesignList[]), separated by ";", most specific first. Empty: the design and the standard design only. |
| DesignLabel[<key>] | admin4l=Admin 4 (layouts); admin4=Admin 4; adminui=AdminUI (older); admin3=Admin 3; admin=Classic (older); admin_classic=Classic, server-rendered (older) | The names shown in the toolbar (translated in the context kernel/uiswitch). |
| RememberPreference | disabled | enabled: the choice is also kept in the user's preferences and comes back at the next sign-in. disabled (default): it ends with the session, at logout. |
See also
Generated example: uiswitch.ini [UISwitch_design]
Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this group. The descriptions are the comment lines of settings/uiswitch.ini.
Contributors
- Graham Brookins Updated
Comments
Add a comment