-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Fully deprecate and ignore showHidden on menus
Field is a core enableField which should be respected. The PageRepository is being used and can (if we decide so in the future) be prepped to show hidden pages *if a BE user is logged in* or depending on other ENV.
- Loading branch information
1 parent
e41bf57
commit ce1513e
Showing
3 changed files
with
9 additions
and
29 deletions.
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
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
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
ce1513e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean it's become a global setting for all menus? If so I don't like it ;)
ce1513e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is now global for all menus to exclude hidden pages. As mentioned in the commit message we can still decide on conditions which would render hidden pages, but it has to be respected that "hidden" means "cannot load that record in FE" (the only exception being in "preview" modes with a BE user logged in, possibly even toggled by a flag which when active, also disables page caching).
The right flag to use is
nav_hide
which is not an enableField. We should respect TYPO3's hidden flag ;)