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 (since TYPO3 9.5)

routeEnhancers:
  QuestionsPlugin:
    type: Extbase
    extension: Questions
    plugin: Questions
    routes:
      -
        routePath: '/{question_question}'
        _controller: 'Question::show'
        _arguments:
          question_question: question
    defaultController: 'Question::list'
    aspects:
      question_question:
        type: PersistedAliasMapper
        tableName: tx_questions_domain_model_question
        routeFieldName: slug
        routeValuePrefix: /

Realurl configuration (up to TYPO3 9.5)

$configuration = [

    'fixedPostVars' => [
        'questionsConfiguration' => [
            0 => [
                'GETvar' => 'tx_questions_questions[action]',
                'valueMap' => [],
                'noMatch' => 'bypass',
            ],
            1 => [
                'GETvar' => 'tx_questions_questions[controller]',
                'valueMap' => [],
                'noMatch' => 'bypass',
            ],
            2 => [
                'GETvar' => 'tx_questions_questions[question]',
                'lookUpTable' => [
                    'table' => 'tx_questions_domain_model_question',
                    'id_field' => 'uid',
                    //'alias_field' => 'question',
                    'alias_field' => "CONCAT(question, '-', uid)",
                    'addWhereClause' => ' AND NOT deleted',
                    'useUniqueCache' => 1,
                    'useUniqueCache_conf' => [
                        'strtolower' => 1,
                        'spaceCharacter' => '-',
                    ],
                    'languageGetVar' => 'L',
                    'languageExceptionUids' => '',
                    'languageField' => 'sys_language_uid',
                    'transOrigPointerField' => 'l10n_parent',
                    'autoUpdate' => 1,
                    'expireDays' => 180,
                ],
            ],
        ],
        62 => 'questionsConfiguration',
    ],
];

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
2TK_________HCU______
1_P____3______P___9TA
X4R___7FK___DBM______
__Y____J____8_____J65
P7S_________TDX______