Admin Actions
Last modified by Vincent Massol on 2019/06/06
Contents
Adds an item in the "admin" menu.
Usage
The extension point adds the content inside the page admin menu.
Definition
This Extension Point is contributed by this extension and was added in version 7.3-milestone-2 of that extension.
- Category
- Content menus
- Extension Id
- org.xwiki.plaftorm.adminactions
- Content to be provided
The code to add in the extension point.
It should look like this:
{{velocity}}{{html clean="false"}} ## we need clean="false" because we want to display the raw content of #submenuitem()
#template('menus_macros.vm')
#submenuitem('url', 'title', 'id', 'class', 'icon')
{{/html}}{{/velocity}}- Parameters to be provided
- order: the order in which the item will be displayed. The lower the number is, the more on the top the item is. Examples of correct orders: 10000, 20000. Please let enough room to add other UIX between existing ones and your own. The current items (even if most of them are not really implemented as UI extensions) have these orders:
Administer Page 10000 Copy 20000 menus_content.vm Rename 30000 menus_content.vm Delete 40000 menus_content.vm - separator: (optional) true if a separator should be displayed before the item.
- order: the order in which the item will be displayed. The lower the number is, the more on the top the item is. Examples of correct orders: 10000, 20000. Please let enough room to add other UIX between existing ones and your own. The current items (even if most of them are not really implemented as UI extensions) have these orders: