[TYPO3-ttnews] tx_news, RealURL, multilingual
Gregor Kaczmarczyk
kaczmarczyk at habkom.de
Wed May 9 13:39:35 CEST 2012
Hi list,
i've already used the new news extension in some projects.
It's really a great extension. Thank you Georg!
But for the first time i need multilaguage functionality (german/english).
I can't get localized links for the detail view wit RealURL.
Without RealUrl everything is working as expected.
RealUrl is also working but without localized links to detail view.
My full RealUrl conf:
http://pastebin.com/8rxv8hau
snippet:
'fixedPostVars' => array(
'newsDetailConfiguration' => array(
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' => 'l18n_parent',
'autoUpdate' => 1,
'expireDays' => 180,
),
),
),
when using fields
'languageGetVar',
'languageExceptionUids','languageField','transOrigPointerField'
the url looks like:
german: domain.de/news/artikel/1/
english: domain.de/en/news/article/1/
without using these fields
german: domain.de/news/artikel/nachricht-nummer-eins-auf-deutsch/
english: domain.de/en/news/article/nachricht-nummer-eins-auf-deutsch/
-> this link shows the correct news entry in english
Has anybody a clue how to get a working localization for the detail links?
TYPO3 Ver. 4.7.0
tx_news from git (yesterday)
RealURL 1.12.1
Thanks in advance,
Gregor
More information about the TYPO3-project-tt-news
mailing list