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
3J9_________JCD______
__9____H______Q___J5B
XYM___X2L_____C______
__B____Y______9___LC4
GEB___________J______