How to Setup Route Enhancers For Your Custom TYPO3 Extensions

Category : YAML , By : Keval Pandya

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

To keep improving, Do you have feedback and suggestions? Or, Are you facing any issues to implement above TYPO3 tutorial? Feel free to write your comment at below comment box; I'll happy to help you :)

Post Comment

Your email address will not be published. Required fields are marked *

×

Name is required!

Enter valid name

Valid email is required!

Enter valid email address

Comment is required!

Google Captcha Is Required!

Be the First to Comment

Stay up to date with our recent TYPO3 Blogs, news, & updates