Magnolia 5.3 reached end of life on June 30, 2017. This branch is no longer supported, see End-of-life policy.
Action popup not configurable in Magnolia 5.0. The configuration described below is planned for a future release.
Action popup is a context menu that is displayed when the user right-clicks an item in the workbench. You should only display the most often used actions in the popup to keep it short and usable. The popup is defined in the same way as the action bar. It has sections and groups, just like the action bar. The popup extends the action bar by default. This means that if you don't create an action popup definition, the popup displays the same actions as the action bar. You can also extending the action bar yourself and configure exceptions, such to hide rarely used actions.
Here is an example where the action popup extends the action bar but disables some rarely used actions.
Node name | Value |
---|---|
browser |
|
actionpopup |
|
sections |
|
contact |
|
groups |
|
activationActions |
|
enabled | false |
importExportActions |
|
enabled | false |
folder |
|
groups |
|
activationActions |
|
enabled | false |
importExportActions |
|
enabled | false |
extends | ../actionbar |
Properties:
actionpopup
sections
<section name>
: Name your sections after what the user has selected, such as folder
when a folder is selected.groups
: Groups are actions that belong together. They are separated by horizontal lines.<group name>
: Name your groups after what is common to the actions. For example, create an addActions
group for actions like addFolder
and addContact
.items
<action name>
: Name of the action. Must be the same as defined in the action definition.availability
: Defines what section is displayed to the user. Depends typically on what type of node the user has selected.