[TYPO3] tt_news image not shows in list
Mitja Felicijan
mitja at inbox.com
Fri Feb 9 14:56:04 CET 2007
I have a problem with my tt_news 2.4.0. Images are not displayed in LIST
mode. All I get when I look in HTML source rendered by Typo3 is <img
src="" width="" height="" border="0" alt="" title="" />
My TS looks like this
plugin.tt_news {
templateFile = {$PTHroot}html/news.tmpl
limit = 3
displayList.date_stdWrap.strftime= %d/%m/%Y
displaySingle.date_stdWrap.strftime= %d/%m/%Y
singlePid = 100
backPid = 2
}
But in single view images are displayed.
My LIST Html template looks like this
<!-- ###TEMPLATE_LIST### begin
This is the template for the list of news in the archive or news page
or search
-->
<table cellpadding="0" cellspacing="1" border="0" width="100%">
<!-- ###CONTENT### begin
This is the part of the template substituted with the list of news:
-->
<!-- ###NEWS### begin
Template for a single item
-->
<tr>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><div class="NImage">###NEWS_IMAGE###</div></td>
<td>
<div class="datum">###NEWS_DATE###</div><br />
<!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###-->
###NEWS_SUBHEADER###
<div align="right"><!--###LINK_ITEM###--><img
src="fileadmin/Templates/Aquanobile/images/arrow.gif" align="bottom"
border="0"> Preberi več<!--###LINK_ITEM###--></div>
</td>
</tr>
</table>
</td>
</tr><tr><td height="23" class="tr-back"> </td></tr>
<!-- ###NEWS### end-->
<!-- ###NEWS_1### begin
Template for an alternative item in single view
-->
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><div class="NImage">###NEWS_IMAGE###</div></td>
<td>
<div class="datum">###NEWS_DATE###</div><br />
<!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###-->
###NEWS_CONTENT###
<div align="right"><!--###LINK_ITEM###--><img
src="fileadmin/Templates/Aquanobile/images/arrow.gif" align="bottom"
border="0"> Preberi več<!--###LINK_ITEM###--></div>
</td>
</tr>
</table>
</td>
</tr><tr><td height="23" class="tr-back"> </td></tr>
<!-- ###NEWS_1### end-->
<!-- ###CONTENT### end -->
<tr>
<td align="center">###LINK_PREV### ###BROWSE_LINKS### ###LINK_NEXT###</td>
</tr>
</table>
<!-- ###TEMPLATE_LIST### end -->
More information about the TYPO3-english
mailing list