TYPO3 EXT:blog Pagination Routing Enhancer

Configure TYPO3 routing enhancer for smart paging's speaking URL of blog TYPO3 extension.

TYPO3 EXT:blog Pagination Routing Enhancer

Configure TYPO3 routing enhancer for smart paging's speaking URL to blog TYPO3 extension.

Step 1. Open /sites/yoursite/config.yaml

Step 2. Add below routeEnhancers code

 

# Config.yaml
routeEnhancers:
  BlogPosts:
    type: Extbase
    extension: Blog
    plugin: Posts
    routes:
      -
        routePath: '/page-{page}'
        _controller: 'Post::listRecentPosts'
        _arguments:
          page: '/currentPage'
    defaultController: 'Post::listRecentPosts'
    requirements:
      page: \d+
    aspects:
      page:
        type: StaticRangeMapper
        start: '1'
        end: '1000'

Looking for the Right TYPO3 Products for Your Project?

Explore professional products from T3Planet Shop, including TYPO3 templates, TYPO3 extensions, and AI-powered extensions for modern TYPO3 websites.

  • TYPO3 Templates for flexible and scalable websites
  • TYPO3 Extensions for added features and functionality
  • AI Extensions for content, search, accessibility, localization, and automation
  • Free & Premium products for different TYPO3 project needs
Explore T3Planet Shop
T3Planet Shop TYPO3 Products

Post a Comment

×