Habe einen SysFolder (News - id=47) angelegt und einige News reingeschrieben. Auf der Startseite ist als Seiteninhalt das Plugin News angegeben und im Template habe ich folgendes stehen:
seite.stylesheet=fileadmin/entrust/css/style.css
seite.bodyTag = <body background=fileadmin/entrust/img/bg.gif>
plugin.tt_news {
displayList.date_stdWrap.strftime= %A, %e. %B %Y
displayLatest.date_stdWrap.strftime = %A, %e. %B %Y
displaySingle.date_stdWrap.strftime = %A, %e. %B %Y
displaySingle.image.file.maxW = 200
limit = 5
latestLimit = 3
}
temp.news = COA
temp.news < plugin.tt_news
temp.news {
templateFile = fileadmin/entrust/index.html
code >
code = LIST
pid_list = 47
PIDitemDisplay >
PIDitemDisplay = 1
}
seite = PAGE
seite.typeNum = 0
seite.20 = TEMPLATE
seite.20 {
template = FILE
template.file = fileadmin/entrust/index.html
workOnSubpart = DOKUMENT
marks.INHALT < temp.news
marks.SUBINHALT < styles.content.getRight
}
Nur bleibt meine Newsanzeige komplett leer...