Loading...
Navigation überspringen
Bitte beachte, dass sich diese Dokumentation auf die neuste Version dieser Erweiterung bezieht. Wenn eine ältere Version eingesetzt wird, kann diese abweichen. Die jeweils passende Dokumentation befindet sich im Dokumentation-Verzeichnis der Erweiterung.

Sprechende URLs

Slug Konfiguration (ab TYPO3 9.5)

routeEnhancers:
  PageTypeSuffix:
    type: PageType
    map:
      sitemap.xml: 1533906435
      bookings.json: 1515242302
  BookingListPlugin:
    type: Extbase
    extension: Bookings
    plugin: BookingList
    routes:
      -
        routePath: '/'
        _controller: 'Bookings::list'
    defaultController: 'Bookings::list'
  BookingObjectPlugin:
    type: Extbase
    extension: Bookings
    plugin: BookingObject
    routes:
      -
        routePath: '/{bookingObject}'
        _controller: 'Bookings::show'
        _arguments:
          bookingObject: bookingObject
    defaultController: 'Bookings::show'
    aspects:
      bookingObject:
        type: PersistedAliasMapper
        tableName: tx_bookings_domain_model_bookingobject
        routeFieldName: slug
        routeValuePrefix: /
  BookingObjectActionPlugin:
    type: Extbase
    extension: Bookings
    plugin: BookingObject
    limitToPages: [20]
    routes:
      -
        routePath: '/{bookingObject}/{actionHash}/{status}'
        _controller: 'Bookings::action'
        _arguments:
          bookingObject: bookingObject
          actionHash: actionHash
          status: status
    defaultController: 'Bookings::action'
    requirement:
      actionHash: '^[a-zA-Z0-9]{32}$'
    aspects:
      bookingObject:
        type: PersistedAliasMapper
        tableName: tx_bookings_domain_model_bookingobject
        routeFieldName: slug
        routeValuePrefix: /
      status:
        type: StaticValueMapper
        map:
          accepted: accepted
          rejected: rejected

Realurl Konfiguration

$configuration = [

    'fixedPostVars' => [
        'bookingsConfiguration' => [
            0 => [
                'GETvar' => 'tx_bookings_bookingobject[action]',
                'valueMap' => [],
                'noMatch' => 'bypass',
            ],
            1 => [
                'GETvar' => 'tx_bookings_bookingobject[controller]',
                'valueMap' => [],
                'noMatch' => 'bypass',
            ],
            2 => [
                'GETvar' => 'tx_bookings_bookingobject[bookingObject]',
                'lookUpTable' => [
                    'table' => 'tx_bookings_domain_model_bookingobject',
                    'id_field' => 'uid',
                    //'alias_field' => 'title',
                    'alias_field' => "CONCAT(title, '-', uid)",
                    'addWhereClause' => ' AND NOT deleted',
                    'useUniqueCache' => 1,
                    'useUniqueCache_conf' => [
                        'strtolower' => 1,
                        'spaceCharacter' => '-',
                    ],
                    'languageGetVar' => 'L',
                    'languageExceptionUids' => '',
                    'languageField' => 'sys_language_uid',
                    'transOrigPointerField' => 'l10n_parent',
                    'autoUpdate' => 1,
                    'expireDays' => 180,
                ],
            ],
        ],
        62 => 'bookingsConfiguration',
    ],

];

Kontaktanfrage

Du kannst uns jederzeit kontaktieren

Stop! Playing in the meantime?
Stop! Playing in the meantime?
Stop! Playing in the meantime?

Stop! Playing in the meantime?

Break the highscore

Press Start
Contact request
Screenreader label
Security question
5___________9DE______
4_Y____6______6___K5Z
CDZ___DPJ___QED______
__L____6______S___6Z8
__3_________XO3______