Skip to content

Commit

Permalink
fix: exclude pages disabled in menu from automatic breadcrumb generation
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Jun 2, 2023
1 parent 9327d32 commit 26c4c79
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- Schema definition to version 21.0

### Fixed
- Disabled pages were referenced in automatic generated breadcrumb (#114)
- Hidden pages were referenced in automatic generated breadcrumb (#114)
- Disabled pages in menu were referenced in automatic generated breadcrumb

## [2.8.0] - 2023-05-22

Expand Down
3 changes: 2 additions & 1 deletion Documentation/Changelog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ Fixed
^^^^^


* Disabled pages were referenced in automatic generated breadcrumb (#114)
* Hidden pages were referenced in automatic generated breadcrumb (#114)
* Disabled pages in menu were referenced in automatic generated breadcrumb

[2.8.0] - 2023-05-22
--------------------
Expand Down
2 changes: 1 addition & 1 deletion ext_localconf.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
defined('TYPO3') or die();

$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] .= ',tx_schema_webpagetype';
$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] .= ',nav_hide,tx_schema_webpagetype';

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-postProcess'][] =
Brotkrueml\Schema\Hooks\PageRenderer\SchemaMarkupInjection::class . '->execute';
Expand Down

0 comments on commit 26c4c79

Please sign in to comment.