Skip to content

Instantly share code, notes, and snippets.

@PetraMotz
Created August 4, 2021 11:55
Show Gist options
  • Save PetraMotz/7d4e6ae2a74e58b31b8be5b4dfe95a05 to your computer and use it in GitHub Desktop.
Save PetraMotz/7d4e6ae2a74e58b31b8be5b4dfe95a05 to your computer and use it in GitHub Desktop.
TYPO3 #t3 #realurl #slug
ältere Typo3 Versionen haben noch keine config.yaml, dort ist die Slug config in der LocalConfiguration.php zu machen
im Abschnitt "EXTCONF" => 'realurl'
'webxCoursesnewShow' => [
[
'GETvar' => 'tx_webxcoursesnew_main[course]',
'lookUpTable' => [
'addWhereClause' => ' AND NOT deleted',
'alias_field' => 'name',
'autoUpdate' => 1,
'expireDays' => 1,
'id_field' => 'uid',
'languageExceptionUids' => '',
'languageField' => 'sys_language_uid',
'languageGetVar' => 'L',
'table' => 'tx_webxcoursesnew_domain_model_course',
'transOrigPointerField' => 'l10n_parent',
'useUniqueCache' => 1,
'useUniqueCache_conf' => [
'spaceCharacter' => '-',
'strtolower' => 1,
],
]
],
[
'GETvar' => 'tx_webxcoursesnew_main[action]',
'noMatch' => 'bypass',
],
[
'GETvar' => 'tx_webxcoursesnew_main[controller]',
'noMatch' => 'bypass',
],
],
'webxCoursesnewBook' => [
[
'GETvar' => 'tx_webxcoursesnew_main[controller]',
'condPrevValue' => -1,
'noMatch' => 'bypass',
],
[
'GETvar' => 'tx_webxcoursesnew_main[action]',
'condPrevValue' => -1,
'noMatch' => 'bypass',
],
[
'GETvar' => 'tx_webxcoursesnew_main[course]',
'lookUpTable' => [
'addWhereClause' => ' AND NOT deleted',
'alias_field' => 'name',
'autoUpdate' => 1,
'expireDays' => 1,
'id_field' => 'uid',
'languageExceptionUids' => '',
'languageField' => 'sys_language_uid',
'languageGetVar' => 'L',
'table' => 'tx_webxcoursesnew_domain_model_course',
'transOrigPointerField' => 'l10n_parent',
'useUniqueCache' => 1,
'useUniqueCache_conf' => [
'spaceCharacter' => '-',
'strtolower' => 1,
],
]
],
],
'webxCoursesnewPayment' => [
[
'GETvar' => 'tx_webxcoursesnew_main[controller]',
'noMatch' => 'bypass',
],
[
'GETvar' => 'tx_webxcoursesnew_main[action]',
'noMatch' => 'bypass',
],
],
243 => 'webxCoursesnewShow',
246 => 'webxCoursesnewBook',
255 => 'webxCoursesnewPayment',
in der datenbank alle relurl tabellen leeren und den cache löschen, damit die url neu indexiert werden
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment