serfhos/my-configurable-routes

TYPO3 Extension: Configurable Route Type

Installs: 988

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 1

Open Issues: 1

Type:typo3-cms-extension

1.0.2 2020-05-06 10:31 UTC

This package is auto-updated.

Last update: 2021-03-31 15:04:31 UTC


README

  • Description: TYPO3 Extension: Configurable Route Type
  • Extension key: my_configurable_routes

Configure your specific named routes in the backend for page setup.

Example Configuration

Add the following snippet to your Site config.yaml

routeEnhancers:
  ExampleDetailPlugin:
    type: PluginConfigurableByPage
    configurable:
      key: example # unique for this route enhancer
      label: 'Detail page of Example plugin' # or LLL:EXT: reference
      icon: your_registered_icon # or empty when not available
    routePath: '/{slug}'
    namespace: tx_exampleplugin_detail
    _arguments:
      slug: article
    aspects:
      slug:
        type: PersistedPatternMapper
        tableName: 'tx_exampleplugin_domain_model_article'
        routeFieldPattern: '^(?P<uid>\d+)'
        routeFieldResult: '{uid}-{path_segment}'

This is now available as a page property under Appearance tab. It is added to the palette Use as Container with the label Contains URL Routing .

Screenshots:

dropdown list