Alerts
Last modified by Vincent Massol on 2022/09/06
Contents
Add some content inside the "alerts" menu
Usage
The extension point adds the content inside the "alerts" menu (previously called "notifications" menu).
Definition
This Extension Point is contributed by this extension and was added in version 9.10-rc-1 of that extension.
- Category
- Alerts
- Extension Id
- org.xwiki.platform.notifications
- 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
#template('menus_macros.vm')
#submenuitem($url, $linkText, $id, $class, $icon, $extraAttributes)
{{/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 have these orders:
Watchlist Icons 10000 XWiki 9.2+ Notifications Displayer 20000 - 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 have these orders: