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

menu.ini [Topmenu_setup]

The settings of [Topmenu_setup] in menu.ini: Icon, NavigationPartIdentifier, URL, Enabled, Shown, MegaMenuTemplate, MegaMenuSection

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/menu/Topmenu_setup.md

On this page

menu.ini [Topmenu_setup]

The block [Topmenu_setup] of settings/menu.ini, with 7 setting(s).

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

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

Icon

Default: gear.

<?php /* #?ini charset="utf-8"?
# settings/override/menu.ini.append.php
[Topmenu_setup]
Icon=gear
*/ ?>

Default: ezsetupnavigationpart.

<?php /* #?ini charset="utf-8"?
# settings/override/menu.ini.append.php
[Topmenu_setup]
NavigationPartIdentifier=ezsetupnavigationpart
*/ ?>

URL

Name=Setup
Tooltip=Configure settings and manage advanced functionality.
The Setup overview (setup/menu): every function of the Setup menu as a tile, grouped as the left menu

Default: a hash of 1: default=setup/menu.

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

Enabled

Default: a hash of 3: default=true, browse=false, edit=false.

<?php /* #?ini charset="utf-8"?
# settings/override/menu.ini.append.php
[Topmenu_setup]
# an empty "Enabled[]" first replaces the shipped list; without it the items are added
Enabled[]
Enabled[default]=true
Enabled[browse]=false
Enabled[edit]=false
*/ ?>

Shown

Default: a hash of 3: default=true, navigation=true, browse=true.

<?php /* #?ini charset="utf-8"?
# settings/override/menu.ini.append.php
[Topmenu_setup]
# an empty "Shown[]" first replaces the shipped list; without it the items are added
Shown[]
Shown[default]=true
Shown[navigation]=true
Shown[browse]=true
*/ ?>

MegaMenuTemplate

No PolicyList[]: setup/menu opens with any one of its functions (setup, administrate, managecache, managecronjobs,
preload, system_info), which [MenuAccessSettings] CheckViewAccess asks. [TopAdminMenu] SetupTabs[] leave the top
menu for the same users, so the tab that holds them asks for nothing more (setup/managecache took it from a user
with system_info only, and the tabs moved into Setup were nowhere).
admin4's mega menu ([TopAdminMenu] MegaMenuTabs[]=setup): the template that draws its links, the Setup menu
([Leftmenu_setup] MegaMenuLinks[])

Default: design:parts/setup/mega_menu.tpl.

<?php /* #?ini charset="utf-8"?
# settings/override/menu.ini.append.php
[Topmenu_setup]
MegaMenuTemplate=design:parts/setup/mega_menu.tpl
*/ ?>

MegaMenuSection

The menu section whose MegaMenuLinks[] the template uses, for the check of its keys (unknown ones are named in the
debug report, parts/a4_mega_menu_check.tpl)

Default: Leftmenu_setup.

<?php /* #?ini charset="utf-8"?
# settings/override/menu.ini.append.php
[Topmenu_setup]
MegaMenuSection=Leftmenu_setup
*/ ?>

Generated by ./console exp:help:examples from settings/menu.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