[TYPO3-ttnews] Multilanguage news: titles in URLs

Kirill Klimov kirill at kserver.kiev.ua
Wed Sep 27 09:38:21 CEST 2006


Tomas Mrozek wrote:



> localconf.php:
> -------------
> 'article' => array(
>   array(
>     'GETvar' => 'tx_ttnews[year]',
>   ),
>   array(
>     'GETvar' => 'tx_ttnews[month]',
>   ),
>   array(
>     'GETvar' => 'tx_ttnews[tt_news]',
>     'lookUpTable' => array(
>       'table' => 'tt_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' => 'l18n_parent',
>     ),
>   ),
> ),
> 

   Add lines above. And, in general, 1st read manual - it is described 
there!


// kirill



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