Configuration 

Extension configuration 

Admin Tools > Settings > Extension Configuration > opinion

Name Type Default
string (empty)
string bug,content,idea,other
string new,in_progress,closed
string closed
string in_progress
string (empty)
string [Opinion]
int 5
int 10
int 180
boolean 1
boolean 1
string ADMCMD_*,logintype,user,pass,redirect_url,tx_felogin_login
disabledDeliveryChannels
Type
string
Default
(empty)

Comma-separated identifiers of delivery channels that do not deliver feedback. The email channel has the identifier email; a custom channel is switched off by the identifier it returns from getIdentifier() . Unknown identifiers are ignored and logged as warning. Empty means every channel delivers.

With every channel switched off, feedback is only stored and gets the delivery status "not delivered"; it is not delivered again later, also not after a channel is switched on again.

categories
Type
string
Default
bug,content,idea,other

Categories offered in the feedback dialog, in this order; the first one is preselected. Comma-separated entries value or value=Label, for example bug,content,question=Question,design.

  • A value consists of 1 to 30 characters a-z, 0-9, _ and - and starts with a letter or digit. Invalid entries and repeated values are ignored, the first occurrence wins. Without a valid entry the default list applies.
  • The label shown in the dialog, the module, the dashboard and the email is the translation opinion.messages:category.<value> if it exists, otherwise the configured label, otherwise the value. The four default values are translated into English and German; a configured label for them is only a fallback.
  • Feedback keeps its category when the value is removed later. It is still listed and delivered again, but the filter of the module only offers the configured categories.
  • The email subject contains the label too, in the language of the email body, for example [Opinion] [Question/normal] ….

To translate an own category, add the translation to a language file and register it as override of the domain opinion.messages, for example in ext_localconf.php of a site package:

EXT:my_sitepackage/ext_localconf.php
$GLOBALS['TYPO3_CONF_VARS']['LANG']['resourceOverrides']['opinion.messages'][]
    = 'EXT:my_sitepackage/Resources/Private/Language/Overrides/opinion.xlf';
$GLOBALS['TYPO3_CONF_VARS']['LANG']['resourceOverrides']['de']['opinion.messages'][]
    = 'EXT:my_sitepackage/Resources/Private/Language/Overrides/de.opinion.xlf';
Copied!
EXT:my_sitepackage/Resources/Private/Language/Overrides/de.opinion.xlf
<trans-unit id="category.question">
    <source>Question</source>
    <target>Frage</target>
</trans-unit>
Copied!
statuses
Type
string
Default
new,in_progress,closed

Processing statuses of feedback, in this order, with the same syntax and rules as categories, for example new,in_progress,waiting=Waiting for reply,closed,rejected=Rejected.

  • The first status is the status of new feedback. Putting another value first changes the status of every feedback sent from then on.
  • Labels follow the translation opinion.messages:status.<value>, then the configured label, then the value. Own statuses are translated with a LANG/resourceOverrides file as shown for the categories.
  • Administrators can set every configured status. Feedback keeps a status that is removed later; it is still shown, counts as open and can no longer be chosen or filtered.
closedStatuses
Type
string
Default
closed

Comma-separated statuses that count as done. Every other status is open: open feedback is listed in the page module and the admin panel and counted by the dashboard widget "Open feedback". The first status of statuses and values that are not configured are ignored. Empty means no status is closed, so every feedback stays open.

reopenStatus
Type
string
Default
in_progress

Status a closed feedback gets when its sender writes a message in the conversation. If the value is not a configured, open status, the first status of statuses is used.

recipients
Type
string
Default
(empty)

Comma-separated email addresses that receive the feedback. Invalid addresses are ignored. Without a valid recipient the feedback is still stored, its delivery status is "failed".

subjectPrefix
Type
string
Default
[Opinion]

Prefix of the email subject. The subject continues with category, severity and the beginning of the message, for example [Opinion] [Bug/high] The teaser image is cropped; the category is shown with its label.

redeliverMaxAttempts
Type
int
Default
5

Delivery attempts, counting the first one, after which opinion:redeliver gives up on a feedback. 0 retries without limit. Deliver again in the admin module is always possible.

rateLimit
Type
int
Default
10

Feedback a backend user may send per hour, administrators included. Only valid submissions count. Above the limit the dialog shows a notice and the endpoint answers 429 with a Retry-After header. 0 switches the limit off.

retentionDays
Type
int
Default
180

Age in days after which opinion:cleanup deletes feedback records and their screenshots.

enabled
Type
boolean
Default
1

0 hides the feedback triggers for everybody and rejects submissions.

conversation
Type
boolean
Default
1

1: administrators and the sender of a feedback exchange messages in the module Feedback (see Module "Feedback"). 0 hides the conversation, the message field, the conversation column of the list and the badge on the module menu, and rejects new messages. Stored messages are kept and deleted by opinion:cleanup as before.

Email sender 

The email is sent from $GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromAddress']. The backend user who sent the feedback becomes reply-to, so the team can answer directly.

Collected details 

The tab Collected details of the extension configuration has a switch for every detail that is attached to the feedback. All are on by default. A switched-off detail is not collected by the browser and is removed on the server, even if a request sends it.

The sender (name, username, email address) is always kept, the team needs it to answer.

Browser 

Collected by the browser. Cookies, localStorage and sessionStorage are never read.

Setting Detail
collect_client_url Page URL
collect_client_title Page title
collect_client_userAgent User agent
collect_client_userAgentData Browser brands, platform, mobile (User-Agent Client Hints)
collect_client_language Browser language
collect_client_languages Preferred languages
collect_client_timezone Time zone
collect_client_screen Screen size and color depth
collect_client_viewport Viewport size
collect_client_devicePixelRatio Device pixel ratio
collect_client_colorScheme Color scheme (light/dark)
collect_client_reducedMotion Reduced motion preference
collect_client_online Online state
collect_client_timestamp Time in the browser

Server 

Determined on the server, never taken from the request body.

Setting Detail
collect_system_typo3Version TYPO3 version
collect_system_applicationContext Application context
collect_system_phpVersion PHP version
collect_system_ipAddress IP address (anonymised)
collect_system_requestUserAgent User agent sent to the server

Page and module 

Sent by the entry point and validated on the server. Entries marked "admin panel" come from the admin panel tab Info > General; images and document size are only known when the page was rendered without cache, like in the admin panel itself.

Setting Detail
collect_context_page Page uid and title
collect_context_site Site (frontend)
collect_context_language Language (frontend)
collect_context_workspace Workspace (frontend)
collect_context_module Module (backend)
collect_context_url Module URL (backend)
collect_context_pageType Page type (admin panel)
collect_context_cacheState Cache state and reasons (admin panel)
collect_context_uncachedElements Number of uncached elements (admin panel)
collect_context_parseTime Parse time (admin panel)
collect_context_documentSize Document size (admin panel)
collect_context_frontendUser Simulated frontend user and groups (admin panel)
collect_context_imagesOnPage Images on the page (admin panel)

URLs 

deniedUrlParameters
Type
string
Default
ADMCMD_*,logintype,user,pass,redirect_url,tx_felogin_login

Query parameters that are removed from the page URL (browser) and the module URL (backend) before the feedback is stored and sent, so preview, login or session parameters do not end up in the email. Comma-separated and case-insensitive; a trailing * matches a prefix, ADMCMD_* covers all preview parameters. For an array parameter like tx_felogin_login[hash] the base name tx_felogin_login is matched.

The same parameters are removed from the fragment, so tokens like #access_token=… or #/reset?token=… are not stored either: from the part after the first ? of the fragment, or from the whole fragment without ?, read as parameters separated by &. All other parameters, anchors like #comments and routes like #/reset are kept as sent.

The request token of backend URLs (token) is always removed. An empty value removes nothing else.

Who may send feedback 

Administrators always may. Other backend users need the option options.opinion.enable in their user or group TSconfig. It shows the feedback triggers to the user and accepts their submissions:

User or group TSconfig
options.opinion.enable = 1
Copied!

To see their own feedback in the module Feedback, these users also need the module granted in their backend group (Access Rights > Modules > Feedback). Without the TSconfig option the module stays closed even when it is granted; with enabled switched off only administrators can open it.

The dashboard widgets (see Backend: dashboard widgets) need to be allowed for these users in their backend group (Access Rights > Dashboard widgets), like every dashboard widget; they show data only to users who may open the module.

Sending feedback also needs a valid email address in the user account, so the team can answer. Users without one still see the trigger, but get a note with a link to their user settings instead of the form; the endpoint rejects their submissions as well.