*Title: Automatic loading of additional popupmenu items *Documentation: To load additional popup menu items used in the eZ Publish administration interface you can use the following settings in admininterface.ini: [AdditionalMenuSettings] ContextMenuTemplateArray[]=node/oocontextmenu.tpl SubitemsContextMenuTemplateArray[]=node/oosubitemscontextmenu.tpl The setting ContextMenuTemplateArray and SubitemsContextMenuTemplateArray is used to load templates for the actual HTML defenition of the menu items. Examples follows. oocontextmenu.tpl:
{"Export OpenOffice.org"|i18n("design/admin/popupmenu")} {* Export to OOo document *} oosubitemscontextmenu.tpl:
{"Export OpenOffice.org"|i18n("design/admin/popupmenu")} In addition: SubMenuTemplateArray[] you can specify submenus to your menu-elements: *Example: admininterface.ini: ContextMenuTemplateArray[]=createhereitem.tpl SubitemsContextMenuTemplateArray[]=subitemscreatehereitem.tpl SubMenuTemplateArray[]=createheresubmenu.tpl createheresubmenu.tpl: {* Create here submenu *}
{section var=class loop=fetch(class, latest_list, hash())} {$class.name|wash(javascript)} {/section}
createhereitem.tpl
{"Create here"|i18n("design/admin/popupmenu")} subitemscreatehereitem.tpl
{"Create here"|i18n("design/admin/popupmenu")}