-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Add close button with returnUrl in page layout module (#25)
* [FEATURE] Add close button with returnUrl in page layout module Show close button in page layout view if query parameter returnUrl is set. This can then be used in EXT:brofix (and other extensions) to pass the returnUrl and the user can jump back by clicking the close button. Resolves: #22
- Loading branch information
Showing
4 changed files
with
62 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
Documentation/Changelog/Entries/3.x/Feature-ShowCloseButton.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.. include:: /Includes.rst.txt | ||
|
||
=========================== | ||
Feature - Show close button | ||
=========================== | ||
|
||
If the page module is opened with a parameter "returnUrl", a close button is | ||
displaye and we jump to the URL if the module is closed via this button. | ||
|
||
Migration | ||
========= | ||
|
||
No migration necessary. If you do not want this behaviour, disable it in the | ||
extension configuration (enableCloseButtonInPageModule). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
### separate label and description with ":" | ||
### Things added in later versions, add at the bottom | ||
|
||
# cat=enable; type=bool; label=Enable close button in page module if returnUrl is set | ||
enableCloseButtonInPageModule = 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters