Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

menu.ini

[DoubleTop]

SettingSummary
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]

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

[Leftmenu_content]

SettingSummary
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]

SettingSummary
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]

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

[Leftmenu_my]

SettingSummary
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]

SettingSummary
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]

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

[Leftmenu_user]

SettingSummary
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]

SettingSummary
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]

SettingSummary
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]

SettingSummary
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]

SettingSummary
AvailableMenuArray Sets the available array's for your menu.

[NavigationPart]

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

[SelectedMenu]

SettingSummary
CurrentMenu Sets the current menu.
LeftMenu Sets the left menu.
TopMenu Sets the top menu

[TopAdminMenu]

SettingSummary
Tabs Lists the menu items of the top menu in administrator interface.

[Topmenu_content]

SettingSummary
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]

SettingSummary
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]

SettingSummary
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]

SettingSummary
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]

SettingSummary
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]

SettingSummary
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]

SettingSummary
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]

SettingSummary
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.

Balazs Halasy (23/02/2005 12:26 pm)

Ester Heylen (03/06/2010 7:03 am)

Frederik Holljen, Ester Heylen


Comments

  • A note about NavigationPartIdentifier

    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)
    • Re: A note about NavigationPartIdentifier

      For those of you trying to create a custom left menu on an older eZ Publish 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}