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
  PollPlugin:
    type: Extbase
    extension: Poll
    plugin: Poll
    routes:
      - routePath: '/{poll_slug}'
        _controller: 'Poll::show'
        _arguments:
          poll_slug: poll
    defaultController: 'Poll::list'
    aspects:
      poll_slug:
        type: PersistedAliasMapper
        tableName: tx_poll_domain_model_poll
        routeFieldName: slug
        routeValuePrefix: /
  PollresultPlugin:
    type: Extbase
    extension: Poll
    plugin: Pollresult
    routes:
      - routePath: '/{poll_result}/result'
        _controller: 'Poll::result'
        _arguments:
          poll_result: poll
    defaultController: 'Poll::list'
    aspects:
      poll_result:
        type: PersistedAliasMapper
        tableName: tx_poll_domain_model_poll
        routeFieldName: slug
        routeValuePrefix: /

Realurl configuration

$configuration = [

    'postVarSets' => [
        '_DEFAULT' => [

            // EXT:poll start
            'umfrage' => [
                [
                    'GETvar' => 'tx_poll_poll[controller]',
                    'valueMap' => [
                        'daten' => 'Poll',
                    ],
                    'noMatch' => 'bypass',
                ],
                [
                    'GETvar' => 'tx_poll_poll[action]',
                    'valueMap' => [
                        'anzeigen' => 'showPoll',
                        'abmelden' => 'unsubscribe',
                        'anmeldung-bestaetigen' => 'subscribeConfirm',
                        'abmeldung-bestaetigen' => 'unsubscribeConfirm',
                    ],
                    'noMatch' => 'bypass',
                ],
                [
                    'GETvar' => 'tx_poll_poll[poll]',
                    'lookUpTable' => [
                    'table' => 'tx_poll_domain_model_poll',
                    'id_field' => 'uid',
                    'alias_field' => 'title',
                    'addWhereClause' => ' AND NOT deleted',
                    'useUniqueCache' => 1,
                    'useUniqueCache_conf' => [
                        'strtolower' => 1,
                        'spaceCharacter' => '-',
                        ],
                    ],
                ],
            ],
            // EXT:poll end

        ],
    ],
];
Documentation
TYPO3 Poll Extension

TYPO3 Poll

Create polls/surveys/Umfragen in TYPO3. Multiple question types and answer layouts. There is also a PRO version available which adds custom user answers and more. (Umfrage, Poll, Opinion, Vote, SimplePoll)

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
T___________AC4______
8_Z____P______S___YM2
HA9___B9A_____J______
__L____O______G___1DC
__C___________Q______