Skip to main navigation Skip to main content Skip to page footer

Books List Plugin

Book Number 1

Introduction to book number 1
more

Book Number 2

Introduction to book number 2
more

SEO Code Snippet

# config.yaml to render the book url seo friendly
# original string:
#
# ?tx_cartbooks_singlebook[book]=x
#
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