Notifications

Version 9.1 by Guillaume Delhumeau on 2017/03/16

Add some content inside the "notifications" menu

Usage

The extension point adds the content inside the notifications menu.

NotificationsInside.png

You must have the "admin" right on the wiki to be able to create a UI extension.

Definition

This Extension Point is contributed by this extension and was added in version 7.4M1 of that extension.

Category
Notifications
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 Icons10000
    Notifications Displayer20000
  • separator: (optional) true if a separator should be displayed before the item.

Get Connected