Loading...
Skip navigation
Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.

Human readable URLs

Slug configuration (TYPO3 9.5 upwards)

routeEnhancers:
  PageTypeSuffix:
    type: PageType
    map:
      openimmo.json: 1508582933
  OpenimmoImmobiliePlugin:
    type: Extbase
    limitToPages:
      # Page uid of list/search and show page
      - 395
      - 593
      - 508
    extension: Openimmo
    plugin: Immobilie
    routes:
      - routePath: '/{immobilie_slug}'
        _controller: 'Immobilie::show'
        _arguments:
          immobilie_slug: immobilie
      -
        routePath: '/'
        _controller: 'Immobilie::search'
      -
        routePath: '/{immobilie_search}'
        _controller: 'Immobilie::search'
        _arguments:
          immobilie_search: search
    defaultController: 'Immobilie::search'
    defaults:
      immobilie_search: ''
    requirements:
      immobilie_search: 'restore'
    aspects:
      immobilie_slug:
        type: PersistedAliasMapper
        tableName: tx_openimmo_domain_model_immobilie
        routeFieldName: slug
        routeValuePrefix: /
  OpenimmoRequestPlugin:
    type: Extbase
    limitToPages:
      # Page uid of the request page
      - 396
    extension: Openimmo
    plugin: Request
    routes:
      - routePath: '/{immobilie_slug}'
        _controller: 'Immobilie::request'
        _arguments:
          immobilie_slug: immobilie
    defaultController: 'Immobilie::request'
    aspects:
      immobilie_slug:
        type: PersistedAliasMapper
        tableName: tx_openimmo_domain_model_immobilie
        routeFieldName: slug
        routeValuePrefix: /

Realurl configuration

$configuration = [

    'postVarSets' => array(
        '_DEFAULT' => array(

            // EXT:openimmo start
            'zeige' => array(
                array(
                    'GETvar' => 'tx_openimmo_immobilie[controller]',
                    'valueMap' => array(
                        'generator' => 'Pdf',
                    ),
                    'noMatch' => 'bypass',
                ),
                array(
                    'GETvar' => 'tx_openimmo_immobilie[action]',
                    'valueMap' => array(
                        'details' => 'show',
                    ),
                    'noMatch' => 'bypass',
                ),
                array(
                    'GETvar' => 'tx_openimmo_immobilie[immobilie]',
                    'lookUpTable' => array(
                        'table' => 'tx_openimmo_domain_model_immobilie',
                        'id_field' => 'uid',
                        'alias_field' => 'CONCAT(objektnr_extern,\'_\',objekttitel)',
                        'addWhereClause' => ' AND NOT deleted',
                        'useUniqueCache' => 1,
                        'useUniqueCache_conf' => array(
                            'strtolower' => 1,
                            'spaceCharacter' => '-',
                        ),
                    ),
                ),
                array(
                    'GETvar' => 'tx_openimmo_immobilie[createPdf]',
                    'valueMap' => array(
                        'pdf' => '1',
                    ),
                    'noMatch' => 'bypass',
                ),
            ),
            'stellen' => array(
                array(
                    'GETvar' => 'tx_openimmo_request[controller]',
                    'valueMap' => array(
                        //'uebersicht' => 'Reference',
                    ),
                    'noMatch' => 'bypass',
                ),
                array(
                    'GETvar' => 'tx_openimmo_request[action]',
                    'valueMap' => array(
                        //'details' => 'show',
                    ),
                    'noMatch' => 'bypass',
                ),
                array(
                    'GETvar' => 'tx_openimmo_request[immobilie]',
                    'lookUpTable' => array(
                        'table' => 'tx_openimmo_domain_model_immobilie',
                        'id_field' => 'uid',
                        'alias_field' => 'CONCAT(objektnr_extern,\'_\',objekttitel)',
                        'addWhereClause' => ' AND NOT deleted',
                        'useUniqueCache' => 1,
                        'useUniqueCache_conf' => array(
                            'strtolower' => 1,
                            'spaceCharacter' => '-',
                        ),
                    ),
                ),
            ),
            // EXT:openimmo end

        ),
    ),

    'fixedPostVars' => array(
        'immobilieDetailConfiguration' => array(
                array(
                    'GETvar' => 'tx_openimmo_immobilie[action]',
                    'valueMap' => array(
                            'show' => '',
                    ),
                    'noMatch' => 'bypass'
                ),
                array(
                    'GETvar' => 'tx_openimmo_immobilie[immobilie]',
                    'lookUpTable' => array(
                    'table' => 'tx_openimmo_domain_model_immobilie',
                    'id_field' => 'uid',
                    'alias_field' => 'CONCAT(objektnr_extern, \'_\', objekttitel)',
                    'addWhereClause' => ' AND NOT deleted',
                    'useUniqueCache' => 1,
                    'useUniqueCache_conf' => array(
                        'strtolower' => 1,
                        'spaceCharacter' => '-',
                    ),
                ),
            ),
            array (
                'GETvar' => 'tx_openimmo_immobilie[createPdf]',
                'valueMap' => array (
                    'pdf' => '1',
                ),
                'noMatch' => 'bypass'
            )
        ),
        '395' => 'immobilieDetailConfiguration',
    ),


];

Contact request

You can contact us at any time

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
ENF_________LMP______
U_4____P____N_E___G1S
H_R___7CE___S_8______
E_U____J____M_M___L9F
S8R_________ES4______