Hi wie im arkitkel "So habe ich es gelöst"beschrieben, habe ich es versucht aber bei mir will es nicht klappen er zeigt einfach garnichts an!
Mein Code:
page = PAGE
page.typeNum = 0
temp.news = COA
temp.news < plugin.tt_news
temp.news.templateFile = media/scripts/news_template.tmpl
temp.news {
code >
code = LATEST
pid_list >
pid_list = 51
PIDitemDisplay >
PIDitemDisplay = 13
}
page.bodyTag = <body text="#000000" bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#FF0000" alink="#FF0000" vlink="#FF0000">
page.stylesheet = fileadmin/pharmapp/pharmapp.css
page.20 = TEMPLATE
page.20 {
template = FILE
template.file = fileadmin/pharmapp/index.html
workOnSubpart = DOKUMENT
marks.INHALT = CONTENT
marks.INHALT.table = tt_content
marks.LINKS = HMENU
marks.LINKS.entryLevel = 0
marks.LINKS.1 = TMENU
marks.LINKS.1 {
expAll = 0
NO {
allWrap = <tr height="22" id="zellen_links"><td bgcolor="#DDDFE8" width="15"> </td><td style="border-style:solid;border-width:1px;border-color:#DDDFE8;"><b>|</b></td></tr>
}
}
marks.LINKS.2 = TMENU
marks.LINKS.2{
expAll = 0
NO {
allWrap = <tr height="22" id="zellen_links"><td bgcolor="#DDDFE8" width="15"> </td><td style="border-style:solid;border-width:1px;border-color:#DDDFE8;"> |</td></tr>
}
}
marks.NEWS < temp.news
}
Könnt ihr mal qucken wo da der fehler liegt?
Wäre super nett!
Muss ich noch mehr machen als das da in die setup zu schreiben?
P.S.:Ja das newsmodell habe ich installiert und kann es mir auch auf seiten ausgeben lassen