Constants

View

The following options are located under the following path: plugin.tx_partnerrating_pi1.view

Template root path

templateRootPath
Type

string

Default

empty

Path

plugin.tx_partnerrating_pi1.view

In addition to the default path EXT:partner_rating/Resources/Private/Templates/, this constant can be used to define a custom template root path to overwrite individual fluid files as needed.

Partial root path

partialRootPath
Type

string

Default

empty

Path

plugin.tx_partnerrating_pi1.view

In addition to the default path EXT:partner_rating/Resources/Private/Partials/, this constant can be used to define a custom partial root path to overwrite individual fluid files as needed.

Layout root path

layoutRootPath
Type

string

Default

empty

Path

plugin.tx_partnerrating_pi1.view

In addition to the default path EXT:partner_rating/Resources/Private/Layouts/, this constant can be used to define a custom layout root path to overwrite individual fluid files as needed.

Settings

The following options are located under the following path: plugin.tx_partnerrating_pi1.settings

Include Bootstrap from CDN

includeBootstrap
Type

boolean

Default

false

Path

plugin.tx_partnerrating_pi1.settings

If this option is true then Bootstrap 5 will be included via CDN from jsDelivr. This option should only be used for testing purposes. If you want to use Bootstrap 5 (the default framework of the Partner Rating template) for rendering, it is recommended to include it yourself via your site package and leave this option disabled.

CSS File

cssFile
Type

string

Default

EXT:partner_rating/Resources/Public/Css/main.min.css

Path

plugin.tx_partnerrating_pi1.settings

CSS file that is used by default

JavaScript File

javaScriptFile
Type

string

Default

EXT:partner_rating/Resources/Public/JavaScript/show.min.js

Path

plugin.tx_partnerrating_pi1.settings

JavaScript file that is used by default

Rating Values

ratingValues
Type

string

Default

1,2,3,4,5

Path

plugin.tx_partnerrating_pi1.settings

Comma separated list of integer values that can be selected for the rating.

Rating Reason Min. Value

ratingReasonMinValue
Type

int

Default

3

Path

plugin.tx_partnerrating_pi1.settings

If the selected rating exceeds this limit, then there is an obligation to select a reason.

Keep min. one search result

keepMinOneSearchResult
Type

boolean

Default

true

Path

plugin.tx_partnerrating_pi1.settings

If this setting is true, then it is ensured that at least one result remains in the partner selection list, even if the entered string no longer leads to any results.

Partner Label Fields

partnerLabelFields
Type

string

Default

title,partner_nr

Path

plugin.tx_partnerrating_pi1.settings

Comma-separated list of database fields to be used for forming the label of entries in the partner selection field. Fields that do not exist in the partner table are ignored.

Partner Label Field Split String

partnerLabelFieldSplitString
Type

string

Default

Path

plugin.tx_partnerrating_pi1.settings

String used between label fields that are defined by partnerLabelFields.

Allow Multiple Reasons

allowMultipleReasons
Type

boolean

Default

false

Path

plugin.tx_partnerrating_pi1.settings

If this setting is true, multiple reasons can be selected (checkboxes). If this setting is false, only one reason can be selected (radio buttons).