[TYPO3-ttnews] n:object ViewHelper doesnt respect sys_language ?

Frank Gerards F.Gerards at esolut.de
Tue May 22 10:16:15 CEST 2012


Hi,

review submitted : https://review.typo3.org/#/c/11424/

hope this helps
frank

-----Ursprüngliche Nachricht-----
Von: typo3-project-tt-news-bounces at lists.typo3.org [mailto:typo3-project-tt-news-bounces at lists.typo3.org] Im Auftrag von Frank Gerards
Gesendet: Dienstag, 22. Mai 2012 10:09
An: TYPO3 tt_news project
Betreff: Re: [TYPO3-ttnews] n:object ViewHelper doesnt respect sys_language ?

Hi Georg,
thx for the quick reply - I found that in the ObjectViewHelper.php the $rawRecord is the newsItem-Record in default language.

I added this line after line 52 and it does the trick:

$rawRecord = $GLOBALS['TSFE']->sys_page->getRecordOverlay( $extendedTable, $rawRecord, $GLOBALS['TSFE']->sys_language_content, $GLOBALS['TSFE']->sys_language_contentOL);

I can do a review for it on gerrit or you can test it and maybe patch your extension, if I'm right...

Frank



-----Ursprüngliche Nachricht-----
Von: typo3-project-tt-news-bounces at lists.typo3.org [mailto:typo3-project-tt-news-bounces at lists.typo3.org] Im Auftrag von Georg Ringer
Gesendet: Dienstag, 22. Mai 2012 10:02
An: typo3-project-tt-news at lists.typo3.org
Betreff: Re: [TYPO3-ttnews] n:object ViewHelper doesnt respect sys_language ?

hi,

maybe http://forge.typo3.org/issues/37222 ?

georg
_______________________________________________
TYPO3-project-tt-news mailing list
TYPO3-project-tt-news at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-tt-news
_______________________________________________
TYPO3-project-tt-news mailing list
TYPO3-project-tt-news at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-tt-news


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