Skip to the content
Documentation

[AdminSiteAccessMenu]

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

The group [AdminSiteAccessMenu] of settings/site.ini.

File

settings/site.ini; override it in settings/override/site.ini.append.php, in a siteaccess or in an extension.

Settings

Setting Default Description
Show enabled The site menu of the administration (designs admin4 and admin4l): the globe button in the header opens a list of this installation's siteaccesses with their addresses. Its first entry opens the site, as the globe did; the others are grouped into sites and administrations, and the siteaccess in use is marked. Signed-in users only. The addresses are worked out as siteaccess_url() does, with the scheme of the request: each siteaccess gets the first address that the matching rules (host_uri, host and uri, in MatchOrder order) lead back to it with no part of the path left over. Tried in turn: this host with its HostUriMatchMapItems entry or its URI element, its own [SiteSettings] SiteURL, a host that HostMatchMapItems gives it, then one of its host_uri entries on another host. Where none of them can be shown to lead there, its URI element on this host is used as before (else its SiteURL as written, else this host). Read from the settings of the administration siteaccess. enabled or disabled; disabled leaves the globe a plain link to the site
List related related: [SiteAccessSettings] RelatedSiteAccessList[] of this siteaccess (the siteaccesses sharing its database), or this siteaccess alone where it is empty; available: AvailableSiteAccessList[]. Only siteaccesses of AvailableSiteAccessList[] are listed either way. An installation that serves several sites sets RelatedSiteAccessList[] for each administration to list its own site's siteaccesses.
HiddenSiteAccessList[] (empty array) Siteaccesses left out of the menu. The site the globe opens (FrontSiteAccess, else DefaultAccess) is always its first entry.
AdminSiteAccessList[] (empty array) The siteaccesses that count as administrations. Empty: those whose [DesignSettings] SiteDesign begins with "admin", or that set a [SiteSettings] FrontSiteAccess.
ListAdministrations disabled disabled: the menu lists sites only; enabled: the administrations too, as a group of their own

See also

Generated example: site.ini [AdminSiteAccessMenu]

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/site.ini.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.