Reference

View

view.templateRootPaths
Path

plugin.tx_ttaddress

type

array

Defines the path where the templates are located.

Default value
templateRootPaths {
   0 = EXT:tt_address/Resources/Private/Templates/
   1 = {$plugin.tx_ttaddress.view.templateRootPath}
}
Copied!

Example:

Override the templates, partials and layouts of tt_adress in your own extension:

EXT:my_extension/Configuration/TypoScript/setup.typoscript
plugin.tx_ttaddress {
    view {
        templateRootPaths {
            42 = EXT:my_extension/Resources/Private/Templates/Address
        }
        partialRootPaths {
            42 = EXT:my_extension/Resources/Private/Partials/Address
        }
        layoutRootPaths {
            42 = EXT:my_extension/Resources/Layouts/Templates/Address
        }
    }
}
Copied!
view.partialRootPaths
Path

plugin.tx_ttaddress

type

array

Defines the path where the partials are located.

Default value
partialRootPaths {
   0 = EXT:tt_address/Resources/Private/Partials/
   1 = {$plugin.tx_ttaddress.view.partialRootPath}
}
Copied!

Example: See view.templateRootPaths.

view.layoutRootPaths
Path

plugin.tx_ttaddress

type

array

Defines the path where the layouts are located.

Default value
layoutRootPaths {
   0 = EXT:tt_address/Resources/Private/Layouts/
   1 = {$plugin.tx_ttaddress.view.layoutRootPath}
}
Copied!

Example: See view.templateRootPaths.

Settings

settings.overrideFlexformSettingsIfEmpty
Path

plugin.tx_ttaddress

type

string

Default

paginate.itemsPerPage, singlePid, recursive

A comma separated list of fields which are filled from TypoScript if the equivalent flexform field is empty. This makes it possible to define default values in TypoScript

settings.recursive
Path

plugin.tx_ttaddress

type

int

Defines how many levels to search for tt_address records from the given pages in pidList.

Example:

Search in a depth of 4 by default:

EXT:my_sitepackage/Configuration/TypoScript/setup.typoscript
plugin.tx_ttaddress {
    settings {
        recursive = 4
    }
}
Copied!
settings.paginate
Path

plugin.tx_ttaddress

type

array

A comma separated list of fields which are filled from TypoScript if the equivalent flexform field is empty. This makes it possible to define default values in TypoScript

Default value
paginate {
   # can be overridden by plugin
   itemsPerPage = 10
   insertAbove = 0
   insertBelow = 1
   maximumNumberOfLinks = 10
}
Copied!

Example:

Show 50 items per page by default and the pagination both above and below:

EXT:my_sitepackage/Configuration/TypoScript/setup.typoscript
plugin.tx_ttaddress {
settings.paginate {
    itemsPerPage = 50
    insertAbove = 1
    insertBelow = 1
}
}
Copied!
settings.map.rendering
Path

plugin.tx_ttaddress

type

string

Default

leaflet

Map rendering which is used in the Fronted Available: leaflet, googleMaps, staticGoogleMaps

Example:

EXT:my_sitepackage/Configuration/TypoScript/setup.typoscript
plugin.tx_ttaddress {
   settings {
      map {
         googleMaps.key = ABCDEFG123
         rendering = googleMaps
      }
   }
}
Copied!
settings.map.googleMaps.key
Path

plugin.tx_ttaddress

type

string

Key for variant Google Maps

map.staticGoogleMaps.parameters
Path

plugin.tx_ttaddress

type

array

Parameters for Static Google Maps configuration See: official docs

Example:

EXT:my_sitepackage/Configuration/TypoScript/setup.typoscript
plugin.tx_ttaddress {
   settings {
      map {
         rendering = staticGoogleMaps
         staticGoogleMaps.parameters {
            center = Emanuel-Leutze-Straße 11, 40547 Düsseldorf
            zoom = 14
            size = 400x400
            key = ABCDEFG123
         }
      }
   }
}
Copied!