Skip to main content Skip to page footer

Books List Plugin

Book Number 2

Author
Introduction to book number 2
more

Book Number 1

Author
Introduction to book number 1
more

SEO Code Snippet

# config.yaml to render the book url seo friendly
routeEnhancers:
  CartBooks:
    type: Extbase
    limitToPages: [xx,xx] # pids of book detail plugin
    extension: CartBooks
    plugin: SingleBook
    routes:
      - { routePath: '/{book_title}', _controller: 'Book::show', _arguments: {'book_title': 'book'} }
    defaultController: 'Book::show'
    aspects:
      book_title:
        type: PersistedAliasMapper
        tableName: 'tx_cartbooks_domain_model_book'
        routeFieldName: 'path_segment'
        routeValuePrefix: ''