TypoScript Configuration

The TypoScript configuration properties for the extension can be found in plugin.tx_pxadealers.settings.

Root level

TypoScript properties defined in plugin.tx_pxadealers.settings, e.g. plugin.tx_pxadealers.settings.categoryPid.

categoryPid

Property

categoryPid

Data type

t3tsref:data-type-integer

Description

The page ID where category records are stored.

cssFile

Property

cssFile

Data type

t3tsref:data-type-file

Default

EXT:pxa_dealers/Resources/Public/Css/pxa_dealers.css

Description

File to the CSS file. Included in the Map.html template.

Tip

Setting this property to an empty string or clearing it with the TypoScript > operand will not lead to an error. Instead, no file will be included.

markerClustererFile

Property

markerClustererFile

Data type

t3tsref:data-type-file

Default

EXT:pxa_dealers/Resources/Public/JavaScript/markerclusterer.js

Description

File to the JavaScript file handling marker clusters. Included in the Map.html template.

Tip

Setting this property to an empty string or clearing it with the TypoScript > operand will not lead to an error. Instead, no file will be included.

pluginFile

Property

pluginFile

Data type

t3tsref:data-type-file

Default

EXT:pxa_dealers/Resources/Public/JavaScript/pxa_dealers_plugin.js

Description

File to the JavaScript file handling the main plugin functionality. Included in the Map.html template.

Tip

Setting this property to an empty string or clearing it with the TypoScript > operand will not lead to an error. Instead, no file will be included.

dealersFile

Property

dealersFile

Data type

t3tsref:data-type-file

Default

EXT:pxa_dealers/Resources/Public/JavaScript/pxa_dealers_plugin.js

Description

File to the JavaScript file handling the dealer functionality. Included in the Map.html template.

Tip

Setting this property to an empty string or clearing it with the TypoScript > operand will not lead to an error. Instead, no file will be included.

searchFile

Property

searchFile

Data type

t3tsref:data-type-file

Default

EXT:pxa_dealers/Resources/Public/JavaScript/pxa_dealers_search.js

Description

File to the JavaScript file handling search functionality. Included in the Form.html template.

Tip

Setting this property to an empty string or clearing it with the TypoScript > operand will not lead to an error. Instead, no file will be included.

awesompleteCssFile

Property

awesompleteCssFile

Data type

t3tsref:data-type-file

Default

EXT:pxa_dealers/Resources/Public/Css/awesomplete.css

Description

CSS file for the Awesomeplete autocomplete plugin. Included in the Form.html template.

Tip

Setting this property to an empty string or clearing it with the TypoScript > operand will not lead to an error. Instead, no file will be included.

awesompleteJavaScriptFile

Property

awesompleteJavaScriptFile

Data type

t3tsref:data-type-file

Default

EXT:pxa_dealers/Resources/Public/JavaScript/awesomplete.min.js

Description

JavaScript file for the Awesomeplete autocomplete plugin. Included in the Form.html template.

Tip

Setting this property to an empty string or clearing it with the TypoScript > operand will not lead to an error. Instead, no file will be included.

Map

TypoScript properties used to configure the map display can be found in plugin.tx_pxadealers.settings.map.*.

stylesJSON

Property

stylesJSON

Data type

JSON string

Description

Custom colors and styles for the Google Map display. If set, this property must be a JSON string, as defined in Google Map's API.

stylesJSON = [ { elementType: "geometry", stylers: [{ color: "#ebe3cd" }] } ]

name

Property

name

Data type

tsref:data-type-string

Description

The display name for the map.

zoomOnShow

Property

zoomOnShow

Data type

tsref:data-type-integer

Default

14

Description

The default zoom level for the map. More about zoom levels

markerClusterer.imagePath

Property

markerClusterer.imagePath

Data type

tsref:data-type-integer

Default

/typo3conf/ext/pxa_dealers/Resources/Public/Images/markerClusterer/m

Description

A path prefix for marker cluster icons. More about marker clustering

markerTypes

Property

markerTypes

Data type

array

Default

default = /typo3conf/ext/pxa_dealers/Resources/Public/Icons/map_marker_icon_blue.png

Description

An array of marker icons for custom markers. default should always be defined. More about custom markers

googleJavascriptApiKey

Property

googleJavascriptApiKey

Data type

tsref:data-type-string

Description

A Google API key for frontend use only.

Warning

googleJavascriptApiKey and googleServerApiKey must be unique. Do not use the same code for both. The two keys should have different permissions. Calls made using the server side should not be possible with the JavaScript (frontend) key.

googleServerApiKey

Property

googleServerApiKey

Data type

tsref:data-type-string

Description

A Google API key for backend use only.

Warning

googleJavascriptApiKey and googleServerApiKey must be unique. Do not use the same code for both. The two keys should have different permissions. Calls made using the server side should not be possible with the JavaScript (frontend) key.

scrollFix

Property

scrollFix

Data type

tsref:data-type-integer

Default

0

Description

The number of extra pixels to scroll down when clicking Show on map. This is useful if you are using a sticky header menu that covers apart of the top of the page.

scrollFixMobile

Property

scrollFixMobile

Data type

tsref:data-type-integer

Default

0

Description

The number of extra pixels to scroll down when clicking Show on map on a mobile device (small screen sizes with a width 990px and less). This is useful if you are using a sticky header menu that covers apart of the top of the page.

scrollFixMobile

Property

hideIfEmpty

Data type

tsref:data-type-boolean

Default

false

Description

If true, the map is hidden if there are no visible markers.

Demand

TypoScript properties used to configure search demand settings can be found in. plugin.tx_pxadealers.settings.demand.*. These settings are also available in the plugin flexForm, and configurations made there take presedence.

orderBy

Property

orderBy

Data type

tsref:data-type-string

Default

crdate

Description

Order dealers records by this field. Recommended fields to use for this field:

  • crdate: Creation date

  • name: The dealer's name

  • tstamp: Last updated date

orderDirection

Property

orderDirection

Data type

tsref:data-type-string

Default

asc

Description

Order direction for dealer records. Available options:

  • asc: Ascending

  • desc: Descending

countries

Property

countries

Data type

tsref:data-type-list

Description

Limit to these countries. Comma-separated list of country UIDs from the static_countries table.

categories

Property

categories

Data type

tsref:data-type-list

Description

Limit to these categories. Comma-separated list of category UIDs.

Dealers' list

TypoScript properties used to configure the dealer listing can be found in plugin.tx_pxadealers.settings.dealersList.*.

noImagePath

Property

noImagePath

Data type

tsref:data-type-path

Default

EXT:pxa_dealers/Resources/Public/Images/noimage.png

Description

Path to the image that is displayed if a dealer record doesn't have any image defined and showDefaultImageIfNoLogo is false.

imageWidth

Property

imageWidth

Data type

tsref:data-type-pixels

Default

150m

Description

The width of images in the list.

imageHeight

Property

imageHeight

Data type

tsref:data-type-pixels

Default

150m

Description

The height of images in the list.