[TYPO3-ttnews] tt_news and realurl - only standard language title in single view url
Basti Baumann
donillo at gmail.com
Thu Apr 24 13:09:39 CEST 2008
Hi,
i use tt_news with real_url and it works good.
My problem is that I have 3 languages: englishc (id=0), german (id=1)
and french (id=2).
If I create a new news in standard language (english) record the url to
detail view looks like this:
http://www.domain.de/en/news/news-details/article/84/changing-gears-quickly-high-performance-transmission-produc/
If I translate to german the url looks like this:
http://www.domain.de/de/aktuelles/news-detail/article/84/changing-gears-quickly-high-performance-transmission-produc/
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/
This is my real_url configuration:
'article' => array(
array (
'GETvar' => 'tx_ttnews[backPid]',
// 'valueMap => array(
// ),
),
array (
'GETvar' => 'tx_ttnews[tt_news]',
'lookUpTable' => array (
'table' => 'tt_news',
'id_field' => 'uid',
'alias_field' => 'title',
'maxLength' => 60,
'addWhereClause'=> 'AND NOT deleted',
'useUniqueCache'=> 1,
'useUniqueCache_conf' => array (
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
Best regards
basti baumann
More information about the TYPO3-project-tt-news
mailing list