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
JLS_________11F______
I______X____2_____T6Q
IEA___8CR___BCP______
M_Z____6______Q___ZNN
622_________XRZ______