[TYPO3-ttnews] TTNews 3.0.1 & T4.3.1 - multilanguage - List Problem
Tobias Pierschel
tobias.pierschel at netinventors.de
Fri Feb 5 11:05:46 CET 2010
OK we´ve found the Bug:
File: tt_news/pi/class.tx_ttnews.php in Row 1069
// Store the result of template parsing in the Var $itemsOut, use the alternating layouts
$itemsOut .=
$this->cObj->substituteMarkerArrayCached($itemparts[$layoutNum],
$markerArray, array(), $wrappedSubpartArray);
$cc++;
replace:
if (isset($row['uid']) && (bool) $row['uid']) {
// Store the result of template parsing in the Var $itemsOut, use the alternating layouts
$itemsOut .=
$this->cObj->substituteMarkerArrayCached($itemparts[$layoutNum],
$markerArray, array(), $wrappedSubpartArray);
$cc++;
}
Greetings
Tobi
Am 26.01.2010 12:00, schrieb Tobias Pierschel:
> Hi,
> we have a website with 4 languages. The news are also translated, but
> sometime we got only the foreign news and no translated versions.
> Now comes the issue: In the english version for example:
>
> Everything between ###NEWS### is given out.
>
>
> <!-- ###NEWS### begin
> Template for a single item
> -->
> <div class="news-list-item">
> <h2>###NEWS_DATE### | ###NEWS_TITLE###</h2>
> <div class="subheader">###NEWS_SUBHEADER###</div>
> </div>
> <!-- ###NEWS### end-->
> <!-- ###CONTENT### end -->
>
> ###NEWS_DATE### ###NEWS_TITLE### ###NEWS_SUBHEADER### is empty. Thats
> okay, but in my opinion the hole marker ###NEWS### and everything in it
> doesnt have to apear. In my case i got
>
> <div class="news-list-item">
> <h2> | </h2>
> <div class="subheader"> </div>
> </div>
>
> in the sourcecode.
>
> Bug, Feeature?
>
> Thanks
> Tobi
More information about the TYPO3-project-tt-news
mailing list