[TYPO3-ttnews] tx_news: output of category image in Templates/Category/List.html
Carsten Franz
mail at carstenfranz.de
Tue Nov 11 16:32:55 CET 2014
Hi,
while updating Typo3 from 6.1.x to 6.2.x and tx_news from 2.2.x to 3.0.1 I stumbled over this problem: Category images are not linked anymore.
My template looked like:
<f:section name="categoryTree5">
<f:for each="{categories}" as="category">
<f:for each="{category.children}" as="child">
<f:if condition="{child.item.uid} == {overwriteDemand.categories}">
<f:then>
<f:link.page pageUid="{settings.listPid}" additionalParams="{tx_news_pi1:{overwriteDemand:{categories: child.item.uid}}}"><span>{child.item.title}</span><div><img src="fileadmin/img/{child.item.image}" alt="{child.item.title}" /></div></f:link.page>
</f:then>
and so on.
Now, {child.item.image} doesn't create any output anymore. I know, categories are sys_categories now and not tx_news categories anymore -- but how can get the path to those images into my template?
Does anybody have an idea? I've been googling and searching the news manual without success.
Kind regards
Carsten
More information about the TYPO3-project-tt-news
mailing list