Feature #24812
closedPagetree -Provide a default contextmenu action to open custom urls
0%
Description
Problem:
Currently it's tricky to add simple custom contextmenu actions that just open a custom url in the content frame.
Solution:
Provide a default contextmenu action that can be filled with an attribute to open a custom url in the content frame. See below:
720 = ITEM
720 {
name = customAction2
label = LLL:EXT:cmaction/locallang.xml:customAction2
icon = someIcon
spriteIcon =
displayCondition =
callbackAction = openCustomUrlInContentFrame
customAttributes.contentUrl = mod.php?M=web_WorkspacesWorkspaces&id=###ID###
}
The id marker is replaced in the contextmenu action with the selected node id.
Note:
This addition was requested by Ernesto to simplify the rewrite of existing context menu actions.
How To Test:
Install the provided extension, clear the cache and use the two new pagetree context menu actions.
(issue imported from #M17312)
Files