Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Latest commit 106d6fd Nov 21, 2018 History
example was not valid
1 contributor

Users who have contributed to this file

Entry Types

This Bundles allows you to define as many entry types as you want. Entry types could be:

  • news
  • press
  • blog
  • events
  • ...

Each type comes with some configuration:

  • name: Set a name for your type. This label will be added to the backend translation.
  • route: Define a custom static route.
  • custom_layout_id: Thanks to the pimcore custom layouts, you may want to define a custom layout for your entry type.

Example

news:
    entry_types:
        default: 'blog' # the default entry type to start with
        items:
            news:
                name: 'news.entry_type.news'
                route: 'news_detail'
                custom_layout_id: 0
            blog:
                name: 'news.entry_type.blog'
                route: 'blog_detail'
                custom_layout_id: 1
            press:
                name: 'news.entry_type.press'
                route: 'blog_detail'
                custom_layout_id: 1