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',
    ),


];
Documentation
TYPO3 OpenImmo Extension

TYPO3 OpenImmo

TYPO3 OpenImmo is a real estate extension that reads in your objects via an OpenImmo-API and displays them on your website.

Menu

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
BOL_________3________
G_4____2____4_P___SL1
7BG___9HX___GJA______
__F____3______O___8U8
CQJ___________I______