Skip to the content
Documentation

menu.ini

No ratings yet

[DoubleTop]

Setting Summary
LeftMenu Sets the left menu to use for the "DoubleTop" menu array.
MenuThumbnail Sets the menu thumbnail to use for the "DoubleTop" menu array.
TitleText Sets the title text to use for the "DoubleTop" menu array.
TopMenu Sets the top menu to use for the "DoubleTop" menu array.

[LeftMenuSettings]

Setting Summary
MenuWidth This setting allows you to define the width setting used for the different menu sizes.

[Leftmenu_content]

Setting Summary
LinkNames Sets link name.
Links List of link URLs and index
Name Sets the translated name value for this menu.
PolicyList_{Links_index} Sets the policy list per link, using the index from the "Links" array as part of the name.

[Leftmenu_design]

Setting Summary
LinkNames Sets link name.
Links List of link URLs and index.
Name Sets the translated name value for this menu.
PolicyList_{Links_index} Sets the policy list per link, using the index from the "Links" array as part of the name.

[Leftmenu_media]

Setting Summary
LinkNames Sets link name.
Links List of link URLs and index.
Name Sets the translated name value for this menu.

[Leftmenu_my]

Setting Summary
LinkNames Sets link name.
Links List of link URLs and index.
Name Sets the translated name value for this menu
PolicyList_{Links_index} Sets the policy list per link, using the index from the "Links" array as part of the name.

[Leftmenu_setup]

Setting Summary
LinkNames Sets link name.
Links List of link URLs and index.
Name Sets the translated name value for this menu
PolicyList_{Links_index} Sets the policy list per link, using the index from the "Links" array as part of the name.

[Leftmenu_shop]

Setting Summary
LinkNames Sets link name.
Links List of link URLs and index.
Name Sets the translated name value for this menu

[Leftmenu_user]

Setting Summary
LinkNames Sets link name.
Links List of link URLs and index.
Name Sets the translated name value for this menu
PolicyList_{Links_index} Sets the policy list per link, using the index from the "Links" array as part of the name.

[LeftOnly]

Setting Summary
LeftMenu Sets the left menu to use for the "LeftOnly" menu array.
MenuThumbnail Sets the menu thumbnail to use for the "LeftOnly" menu array.
TitleText Sets the title text to use for the "LeftOnly" menu array.
TopMenu Sets the top menu to use for the "LeftOnly" menu array.

[LeftTop]

Setting Summary
LeftMenu Sets the left menu to use for the "LeftTop" menu array.
MenuThumbnail Sets the menu thumbnail to use for the "LeftTop" menu array.
TitleText Sets the title text to use for the "LeftTop" menu array.
TopMenu Sets the top menu to use for the "LeftTop" menu array.

[MenuContentSettings]

Setting Summary
LeftIdentifierList Lists the identifiers of the classses that are allowed to be shown in left menu.
TopIdentifierList Lists the identifiers of the classses that are allowed to be shown in top menu's.

[MenuSettings]

Setting Summary
AvailableMenuArray Sets the available array's for your menu.

[NavigationPart]

Setting Summary
Part A list of the current navigation parts and their names.

[SelectedMenu]

Setting Summary
CurrentMenu Sets the current menu.
LeftMenu Sets the left menu.
TopMenu Sets the top menu

[TopAdminMenu]

Setting Summary
Tabs Lists the menu items of the top menu in administrator interface.

[Topmenu_content]

Setting Summary
Enabled Sets whether or not the menu item is clickable.
Name Sets which name to show on the menu item.
NavigationPartIdentifier Sets the navigation part of the identifier of the menu item.
PolicyList Lists the policies.
Shown Sets whether or not the menu item is shown.
Tooltip Sets the tooltip which is shown for the menu item when the cursor hovers over the menu item.
URL Sets the view which an item points to in the different context.

[Topmenu_dashboard]

Setting Summary
Enabled Sets whether or not the menu item is clickable in current UI context.
Name Sets which name to show on the menu item.
NavigationPartIdentifier Sets the navigation part of the identifier of the menu item.
Shown Sets whether or not the menu item is shown in current UI context.
Tooltip Sets the tooltip which is shown for the menu item when the cursor hovers over the menu item.
URL Sets the view which an item points to in the different context.

[Topmenu_design]

Setting Summary
Enabled Sets whether or not the menu item is clickable in current UI context.
Name Sets which name to show on the menu item.
NavigationPartIdentifier Sets the navigation part of the identifier of the menu item.
Shown Sets whether or not the menu item is shown in current UI context
Tooltip Sets the tooltip which is shown for the menu item when the cursor hovers over the menu item.
URL Sets the view which an item points to in the different context.

[Topmenu_media]

Setting Summary
Enabled Sets whether or not the menu item is clickable in current UI context.
Name Sets which name to show on the menu item.
NavigationPartIdentifier Sets the navigation part of the identifier of the menu item.
PolicyList Lists the policies for the menu's.
Shown Sets whether or not the menu item is shown in current UI context.
Tooltip Sets the tooltip which is shown for the menu item when the cursor hovers over the menu item.
URL Sets the view which an item points to in the different context.

[Topmenu_setup]

Setting Summary
Enabled Sets whether or not the menu item is clickable in current UI context.
Name Sets which name to show on the menu item.
NavigationPartIdentifier Sets the navigation part of the identifier of the menu item.
PolicyList Lists the policies for the menu's.
Shown Sets the view which an item points to in the different context.
Tooltip Sets the tooltip which is shown for the menu item when the cursor hovers over the menu item.
URL Sets the view which an item points to in the different context.

[Topmenu_shop]

Setting Summary
Enabled Sets whether or not the menu item is clickable in current UI context.
Name Sets which name to show on the menu item.
NavigationPartIdentifier Sets the navigation part of the identifier of the menu item.
PolicyList Lists the policies for the menu's.
Shown Sets whether or not the menu item is shown in current UI context
Tooltip Sets the tooltip which is shown for the menu item when the cursor hovers over the menu item.
URL Sets the view which an item points to in the different context.

[Topmenu_users]

Setting Summary
Enabled Sets whether or not the menu item is clickable in current UI context.
Name Sets which name to show on the menu item.
NavigationPartIdentifier Sets the navigation part of the identifier of the menu item.
PolicyList Lists the policies for the menu's.
Shown Sets whether or not the menu item is shown in current UI context
Tooltip Sets the tooltip which is shown for the menu item.
URL Sets the view which an item points to in the different context.

[TopOnly]

Setting Summary
LeftMenu Sets the left menu to use for the "TopOnly" menu array.
MenuThumbnail Sets the thumbnail to be used for the "TopOnly" menu array.
TitleText Sets the title text for the "TopOnly" menu array.
TopMenu Sets the top menu to use for the "TopOnly" menu array.

Added for Exponential 6.0.15: groups

The groups of settings/menu.ini in Exponential 6.0.15 that the 4.x reference did not describe:

Group Summary
[MenuAccessSettings]  
[Topmenu_audit]  
[Leftmenu_audit] The left menu of the audit tab (design:audit/menu.tpl).
[Leftmenu_help] The left menu of the help views (exphelp/*, design:exphelp/menu.tpl): they belong to the Setup tab (ezsetupnavigationpart), which stays marked, but draw this ...
[Leftmenu_user_mega] admin4's mega menu of the Users tab ([TopAdminMenu] MegaMenuTabs[]=users, [Topmenu_users] MegaMenuTemplate, drawn by parts/user/mega_menu.tpl through ...
[Leftmenu_my_mega] admin4's mega menu of the Dashboard tab ([TopAdminMenu] MegaMenuTabs[]=dashboard, [Topmenu_dashboard] MegaMenuTemplate, drawn by parts/my/mega_menu.tpl through ...

In this section

Contributors

Comments (2 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. A note about NavigationPartIdentifier

    Gaetano ·

    The comments in the ini file itself give a faint idea about correct usage of NavigationPartIdentifier:
    - to alter the left-column menu in a custom module view, the file module.php needs to be edited, adding default_navigation_part to the view definition
    - to create content for that menu, create a template (eg. templates/admin/parts/mymodule/menu.tpl), and assign its url to $Result in the view code: $Result['left_menu'] = 'design:parts/mymodule/menu.tpl';
    - the NavigationPartIdentifier ini setting present in menu.ini by itslef does not switch or alter the navigation part displayed in the left column. It is only used by the admin templates to find out what the current menu is so that it can be shown highlighted! (ie. the ini value is matched against the value set in module.php)

    1. Re: A note about NavigationPartIdentifier

      Eirik Johansen ·

      For those of you trying to create a custom left menu on an older Exponential version (and yes, before you say anything, I know that these are the docs for eZP 4.0, but I figured that there might be others out there as stupid as me), please note that the ability to use custom left menus was added in v. 3.8.
      However, adding support for it in v. 3.5 and later is fairly easy. Just create an override of the admin pagelayout, and add the following code after:

      {section show=eq( $navigation_part.identifier, 'ezmynavigationpart' )}    {include uri='design:parts/my/menu.tpl'}{/section}

      and before

      {/section}

      Code to add:

      {section show=is_set( $module_result.left_menu )}{include uri=$module_result.left_menu}{/section}

Comments

Add a comment

Comments are read by a moderator before they appear.