Do you want to configure custom Route Enhancers for your custome TYPO3 extensions or templates? This quick TYPO3 tutorial will help you to quickly configure custom TYPO3 route enhancers.
Step-by-Step Guide to Custom Route Enhancers
Step 1: Create routeEnhancers.yaml
# /typo3conf/ext/yourextension/Configuration/Route/routeEnhancers.yaml
routeEnhancers:
PageTypeSuffix:
map:
nsnewscomment: 99
Step 2: Import to Your Site Configuration
# config/sites/extensionname/config.yaml
imports:
-
resource: typo3conf/ext/yourextension/Configuration/Route/routeEnhancers.yaml
Post a Comment