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
EEO_________ZDT______
O_X____3____P_____1UL
PCF___A1R___S6X______
__H____Q____G_5___CAL
9KR_________ZTM______