Responsive Icon für Tablet
Icon für Tablet
Icon für Smartphone
Icon für Smartphone

Silke Bötzel
Dipl. Informatikerin

Auf dem Spiekstück 5
58239 Schwerte

T (0 23 04) 69 74 14

Neue Site-Configuration anlegen

routeEnhancers:
  NewsPlugin:
    type: Extbase
    limitToPages: [87,88,89] <- Newsseiten angeben
    extension: News
    plugin: Pi1
    routes:
      - { routePath: '/{news_title}', _controller: 'News::detail', _arguments: {'news_title': 'news'} }
    defaultController: 'News::detail'
    aspects:
        news_title:
            type: PersistedAliasMapper
            tableName: tx_news_domain_model_news
            routeFieldName: path_segment
typo3conf/sites/global/route-enhancers-news.yaml

Site Configuration in config.yaml importieren

rootPageId: 2
base: /
baseVariants: {  }
languages:
  -
    title: German
    enabled: true
    languageId: '0'
    base: /
    typo3Language: de
    locale: de_DE.UTF-8
    iso-639-1: de
    navigationTitle: Deutsch
    hreflang: de-DE
    direction: ''
    flag: de
  -
    title: Dansk
    enabled: true
    languageId: '1'
    base: /da/
    typo3Language: da
    locale: de_DE.UTF-8
    iso-639-1: da
    navigationTitle: Danish
    hreflang: de_DE
    direction: ''
    fallbackType: strict
    flag: dk
errorHandling: {  }
routes: {  }
imports:
    - { resource: "typo3conf/sites/global/route-enhancers-news.yaml" }
typo3conf/sites/<sitename>/config.yaml