Loading...
Skip navigation

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
H___________9JY______
T_A____Q______J___LLU
RUH___D2A_____C______
__M____L______D___T3W
__W___________3______