[Typo3] What am I doing wrong? tt_news

Miguel Angel Calleja Lázaro mangelcl at yahoo.es
Mon Oct 17 11:17:36 CEST 2005


  ** I want to do a LIST news since typoscript.

Im following all steps of a tt_news example. I create News page (code 
LIST) and News storage folder. In page News in template:
constants:
plugin.tt_news {
file.templateFile = 
fileadmin/templates/main/HarvestersTypo3/tt_news_v2_template.html
wrap1 = <font color="#999999"> | </font>
wrap2 = <font color="#004263"> | </font>
color1 = #999999
color2 = #004263
PIDitemDisplay = 48
}
In setup:
plugin.tt_news {
limit = 5
displayList {
image.file.maxW = 100
imageWrapIfAny (
<table align="left" bgcolor="#AAAAAA" cellpadding="1" cellspacing="0" 
border="0">
<tr><td>
<table bgcolor="#EEEEEE" cellpadding="0" cellspacing="0" border="0">
<tr><td> | </td></tr>
</table>
</td></tr>
</table>
)
}
displaySingle {
image.file.maxW = 160
imageWrapIfAny (
<table align="left" bgcolor="#AAAAAA" cellpadding="1" cellspacing="0" 
border="0">
<tr><td>
<table bgcolor="#EEEEEE" cellpadding="0" cellspacing="0" border="0">
<tr><td> | </td></tr>
</table>
</td></tr>
</table>
)
}
}

The list news works but when i click on a news dont show in pid, it dont 
do nothing. What is wrong? PIDitemDisplay dont work me never. I have a 
page with pid=48 that is for single news, well, i put this pid to tHe 
PIDitemDisplay, but the single news dont show never. Help please



More information about the TYPO3-english mailing list