hallo,
ich versuche mich nun seit 3 tagen am records object aber bekomme da keine daten raus. kann mir bitte jemand sagen was an diesem script falsch ist?
#Configuring the Auto-Parser:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/meine_hobbythek/index.html
relPathPrefix = fileadmin/meine_hobbythek/
}
temp.menutemplate = HMENU
temp.menutemplate.1 = TMENU
temp.menutemplate.1.NO = 1
temp.menutemplate.1.NO.allWrap = <p> | </p>
temp.maintemplate = CONTENT
temp.maintemplate.table = tt_content
temp.maintemplate.field = bodytext
temp.testtemplate = TEMPLATE
temp.testtemplate.template < plugin.tx_automaketemplate_pi1
temp.TEST = RECORDS
temo.TEST {
tables= tt_product
source= 302
dontCheckPid=1
}
# Default PAGE object:
page = PAGE
page.typnum=0
#page.bodyTag = <BODY BGCOLOR="#6E71F6">
page.10 < temp.testtemplate
page.10.marks.INHALT < temp.maintemplate
page.10.marks.MENU < temp.menutemplate
page.10.marks.TEST < temp.TEST
template:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Unbenanntes Dokument</title>
<link href="body.css" rel="stylesheet" type="text/css" />
<link href="logo.css" rel="stylesheet" type="text/css" />
<link href="menu.css" rel="stylesheet" type="text/css" />
<link href="link.css" rel="stylesheet" type="text/css" />
<link href="banner.css" rel="stylesheet" type="text/css" />
</head>
<body class="background">
<div class="banner"><img src="tinka_banner1.gif" width="440" height="117" class="banner" /></div>
</div>
<div class="menu">
###MENU###
</div>
<div class="logo">###INHALT###</div>
###TEST###</body>
</html>
grüsse
gucky