hi,
ich möchte auf jeder seite in einem im template definierten bereich "news" alle news anzeigen lassen.
momentan habe ich es so
temp.news = plugin.tt_news
temp.news {
code = LIST
PIDitemDisplay = 75
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>
)
image.wrap (
| <br>
<img src="clear.gif" width="1" height="3">
)
caption_stdWrap.wrap (
<div align="center">
<font face=verdana size=1>
<i>|</i>
</font>
</div>
<img src="clear.gif" width="1" height="5"><br>
)
}
}
# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_BODY
subparts.menu_oben < temp.st_top_menu
subparts.menu_sub < temp.st_sub_menu
subparts.menu_footer < temp.st_footer_menu
#subparts.menu_root < temp.menu_pfad
subparts.content_left < styles.content.get
subparts.content_right < styles.content.getRight
subparts.news < temp.news
}
aber leider werden keine news angezeigt, obwohl ich im sysOrdner welche erstellt habe.
hat jemand einen tipp für mich weshalb?
grüße micha