I have the feeling that the documentation for setting up the notification extension is not complete.
You are supposed to install the Alerts extension.
This requires the creation of a UIExtension object.
But nowhere is it described which configuration to use to get the “Alerts” button in the menu.
Can someone help me here?
I can find this snippet, but there seems to be some information missing…
{{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}}
which documentation are you referring to exactly?
In theory you shouldn’t have to create any xobject, edit any code or even install any specific extensions for getting alert notifications from a standard installation of XWiki.
Hello,
I can’t find a solution to create the content for the alert panel.
There is a point here: “Adding content inside the menu” but there is only a snippet in it and no information on how to define the content.
What do I have to add here so that the Alert Panel displays the default content that is intended for the notification extension?
{{velocity}}{{html clean="false"}}
#template('menus_macros.vm')
## what needs to go here!?!?!
{{/html}}{{/velocity}}
So as I already explained you don’t need to do anything for the alert panel to display the default content intended for the notifications extensions if you have a standard install of XWiki: everything is already set up to display them, there’s nothing to customize if you only want to receive notifications in this area.
You shouldn’t have anything to do: they should be available right away after you logged in on the wiki. What do you have in your case? No bell icon at all? Or an empty menu?
You should probably check your installation of the notifications application: there might have been customization that are messing it up. You can go in the Administration > Extension, search for Notification Application in the installed extensions and then click on “compute changes” in the submenu next to “uninstall”, as in: