Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

uiswitch.ini [UISwitchSettings]

The settings of [UISwitchSettings] in uiswitch.ini: Enabled, SiteAccessList, ProviderList

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/uiswitch/UISwitchSettings.md

On this page

uiswitch.ini [UISwitchSettings]

The block [UISwitchSettings] of settings/uiswitch.ini, with 3 setting(s).

Never edit settings/uiswitch.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/uiswitch.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/uiswitch.ini.append.php for one siteaccess,
  • extension/<extension>/settings/uiswitch.ini.append.php in an extension (read when the extension is active).

Enabled

true | false. Off: no choice is offered or applied anywhere.

Default: true.

<?php /* #?ini charset="utf-8"?
# settings/override/uiswitch.ini.append.php
[UISwitchSettings]
Enabled=true
*/ ?>

SiteAccessList

The siteaccesses where the choices work. Empty: every siteaccess whose design list has an
administration design (admin, admin2, admin3, admin4, admin4l, adminui; the editor and adminui
siteaccesses fall back to them). Never a public site.

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/uiswitch.ini.append.php
[UISwitchSettings]
# an empty "SiteAccessList[]" first replaces the shipped list; without it the items are added
SiteAccessList[]
*/ ?>

ProviderList

The providers, in toolbar order. Each needs a [UISwitch_<identifier>] group with Class=, and gets
the policy function uiswitch/<identifier>.

Default: a list of 2: language, design.

<?php /* #?ini charset="utf-8"?
# settings/override/uiswitch.ini.append.php
[UISwitchSettings]
# an empty "ProviderList[]" first replaces the shipped list; without it the items are added
ProviderList[]
ProviderList[]=language
ProviderList[]=design
*/ ?>

Generated by ./console exp:help:examples from settings/uiswitch.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x