Alerts

Version 12.1 by Guillaume Delhumeau on 2017/11/02

Add some content inside the "alerts" menu

Usage

The extension point adds the content inside the alerts 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
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 Icons10000
    Notifications Displayer (Since 9.2RC1)20000
  • separator: (optional) true if a separator should be displayed before the item.
Tags:
   

Get Connected