[TYPO3-ttnews] tt_news and realurl - only standard language title in single view url

Basti Baumann donillo at gmail.com
Fri Apr 25 09:10:36 CEST 2008


Francois Suter schrieb:
> Hi,
> 
>> How can I configure that in the new translated to german the url is in 
>> german with the german title like this:
>> http://www.domain.de/de/aktuelles/news-detail/article/84/leistung-satt-im-getriebebau/ 
> 
> 
> You need to add language conditions to your lookUpTable. Here's my config:
> 
> array(
>     'GETvar' => 'tx_ttnews[tt_news]',
>     'lookUpTable' => array(
>         'table' => 'tt_news',
>         'id_field' => 'uid',
>         'alias_field' => 'title',
>         'addWhereClause' => ' AND NOT deleted',
>         'languageGetVar' => 'L',
>         'languageExceptionUids' => '',
>         'languageField' => 'sys_language_uid',
>         'transOrigPointerField' => 'l18n_parent',
>         'useUniqueCache' => 1,
>         'useUniqueCache_conf' => array(
>             'strtolower' => 1,
>             'spaceCharacter' => '-',
>             ),
>         ),
>     ),
> 
> HTH
> 
Hello Francois,
Thanks, but it didn´t work.
I cleared all the caches and regenrated the realurls, but the url ist 
still in english.

Best regards
Basti


More information about the TYPO3-project-tt-news mailing list