[TYPO3-german] Typo3 realurl Extension

Birgit lists at berlin-typo3.de
Thu Feb 1 19:57:20 CET 2018


Hallo Lukas,

probier mal das:

Zuerst alle bereits erstellten URLs löschen im Backendmodul.

Folg. Zeile testweise auskommentieren, das Hinzufügen macht realurl bereits für dich.

> // $TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';


Wenn das nicht reicht:

Der Seitentitel bzw. das Pfadelement scheinen nicht angezeigt zu werden:

>   'pagePath' => array(

	'segTitleFieldList'=>’tx_realurl_pathsegment,title’, 
	...
>     //  'firstHitPathCache'=>1 // testweise auskommentieren
>   ),



> 'GETvar' => 'lang‘,

wurde meines Wissen nach nur für TemplaVoila benötigt und kann normalerweise raus

Wenn dann noch Probleme bestehen, wären die TYPO3 Version und die realurl Version hilfreich.


viele Grüße
Birgit


> Am 01.02.2018 um 15:15 schrieb Lukas s <simondet at die-leoparden.de>:
> 
> Guten Tag,
> 
> ich habe leider ein Problem mit der realurl Extension und zwar habe ich zwei
> Sprachversionen angelegt, auch in der realurl_conf.php.
> Leider verändert realurl den Link der Startseite entweder in de.html oder en.html was ich nicht möchte
> ich hätte gerne http://www.domain.test/de/
> 
> Leider finde ich darüber in Google herzlich wenig.
> 
> Hier meine realurl_conf.php:
> 
> Vielleicht hat ja jemand eine Idee...
> 
> $TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
>   'pagePath' => array(
>       'type' => 'user',
>       'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
>       'spaceCharacter' => '-',
>       'languageGetVar' => 'L',
>       'expireDays' => '3',
>       'rootpage_id' => 1,
>       'firstHitPathCache'=>1
>   ),
>   'init' => array(
>       'enableCHashCache' => TRUE,
>       'respectSimulateStaticURLs' => 0,
>       'appendMissingSlash' => 'ifNotFile,redirect',
>       'adminJumpToBackend' => TRUE,
>       'enableUrlDecodeCache' => TRUE,
>       'enableUrlEncodeCache' => TRUE,
>       'emptyUrlReturnValue' => '/',
>   ),
>   'preVars' => array(
>       array(
>           'GETvar' => 'L',
>           'valueMap' => array(
>               'de' => '0',
>               'en' => '2',
>           ),
>           'noMatch' => 'bypass',
>       ),
>       array (
>           'GETvar' => 'lang',
>           'valueMap' => array (
>               'de' => 'de',
>               'en' => 'en',
>           ),
>           'noMatch' => 'bypass',
>       ),
>       array(
>           'GETvar' => 'no_cache',
>           'valueMap' => array(
>               'nc' => 1,
>           ),
>           'noMatch' => 'bypass',
>       ),
>   ),
>   'fixedPostVars' => array(
>       'newsDetailConfiguration' => array(
>           array(
>               'GETvar' => 'tx_news_pi1[action]',
>               'valueMap' => array(
>               'detail' => '',
>           ),
>           'noMatch' => 'bypass'
>           ),
>           array(
>               'GETvar' => 'tx_news_pi1[controller]',
>               'valueMap' => array(
>                   'News' => '',
>               ),
>               'noMatch' => 'bypass'
>           ),
>           array(
>               'GETvar' => 'tx_news_pi1[news]',
>               'lookUpTable' => array(
>                   'table' => 'tx_news_domain_model_news',
>                   'id_field' => 'uid',
>                   'alias_field' => 'title',
>                   'addWhereClause' => ' AND NOT deleted',
>                   'useUniqueCache' => 1,
>                   'useUniqueCache_conf' => array(
>                       'strtolower' => 1,
>                       'spaceCharacter' => '-'
>                   ),
>                   'languageGetVar' => 'L',
>                   'languageExceptionUids' => '',
>                   'languageField' => 'sys_language_uid',
>                   'transOrigPointerField' => 'l10n_parent',
>                   'expireDays' => 180,
>               )
>           )
>       ),
>       'newsCategoryConfiguration' => array(
>           array(
>               'GETvar' => 'tx_news_pi1[overwriteDemand][categories]',
>               'lookUpTable' => array(
>                   'table' => 'sys_category',
>                   'id_field' => 'uid',
>                   'alias_field' => 'title',
>                   'addWhereClause' => ' AND NOT deleted',
>                   'useUniqueCache' => 1,
>                   'useUniqueCache_conf' => array(
>                       'strtolower' => 1,
>                       'spaceCharacter' => '-'
>                   )
>               )
>           )
>       ),
>       'newsTagConfiguration' => array(
>           array(
>               'GETvar' => 'tx_news_pi1[overwriteDemand][tags]',
>               'lookUpTable' => array(
>                   'table' => 'tx_news_domain_model_tag',
>                   'id_field' => 'uid',
>                   'alias_field' => 'title',
>                   'addWhereClause' => ' AND NOT deleted',
>                   'useUniqueCache' => 1,
>                   'useUniqueCache_conf' => array(
>                       'strtolower' => 1,
>                       'spaceCharacter' => '-'
>                   )
>               )
>           )
>       ),
>       '70' => 'newsDetailConfiguration',
>       '701' => 'newsDetailConfiguration', // For additional detail pages, add their uid as well
>       '71' => 'newsTagConfiguration',
>       '72' => 'newsCategoryConfiguration',
>   ),
>   'postVarSets' => array(
>       '_DEFAULT' => array(
>           'controller' => array(
>               array(
>                   'GETvar' => 'tx_news_pi1[action]',
>                   'noMatch' => 'bypass'
>               ),
>               array(
>                   'GETvar' => 'tx_news_pi1[controller]',
>                   'noMatch' => 'bypass'
>               )
>           ),
> 
>           'dateFilter' => array(
>               array(
>                   'GETvar' => 'tx_news_pi1[overwriteDemand][year]',
>               ),
>               array(
>                   'GETvar' => 'tx_news_pi1[overwriteDemand][month]',
>               ),
>           ),
>           'page' => array(
>               array(
>                   'GETvar' => 'tx_news_pi1[@widget_0][currentPage]',
>               ),
>           ),
>       ),
>   ),
>   // configure filenames for different pagetypes
>   'fileName' => array(
>       'defaultToHTMLsuffixOnPrev' => 1,
>       'index' => array(
>           'print.html' => array(
>               'keyValues' => array(
>                   'type' => 98,
>               ),
>           ),
>           'rss.xml' => array(
>               'keyValues' => array(
>                   'type' => 100,
>               ),
>           ),
>           'rss091.xml' => array(
>               'keyValues' => array(
>                   'type' => 101,
>               ),
>           ),
>           'rdf.xml' => array(
>               'keyValues' => array(
>                   'type' => 102,
>               ),
>           ),
>           'atom.xml' => array(
>               'keyValues' => array(
>                   'type' => 103,
>               ),
>           ),
>       ),
>   ),
> );
> 
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german



More information about the TYPO3-german mailing list