Zum Inhalt springen

Druckansicht bleibt leer?

Erstellt am 9. Oktober 2006 · 6 Antworten · letzte Antwort am 10. Oktober 2006

Tags: Templates & Layouts, Frage

Specter ·

Hi allerseits,

wenn ich mit folgendem code die Druckansicht ausgeben will kommt eine leere Seite statt dem content, hier der Code:

page = PAGE
page.typeNum = 0
page.10 = TEMPLATE
page.10.template = FILE
page.10.template.file = fileadmin/templates/template.html
page.10.stylesheet = fileadmin/templates/style.css
page.10.marks.SEITE = TEXT
page.10.marks.SEITE.field = title
page.10.marks.INHALT = CONTENT
page.10.marks.INHALT {
	table = tt_content
	}
page.10.marks.MENU = HMENU
page.10.marks.MENU.1 = TMENU
page.10.marks.MENU.1.NO{
allWrap =  | <br /><hr />
linkWrap= <font face="Verdana" size="3" color="333399"> | </font>
}
page.10.marks.MENU.2 = TMENU
page.10.marks.MENU.2.NO {
allWrap =  | <br /><hr />
linkWrap= <font face="Verdana" size="2" color="333300"> | </font>
}
 print = PAGE 
 print.typeNum = 98 
 print.10 = TEMPLATE 
 print.10 {     template = FILE 
     template.file = print-template.html 
     CONTENT < styles.content.get      
     

     marks{ 
          TOPGFX = IMAGE
          TOPGFX.file = toplayer-print.gi
     }
 }


 page.10.marks.PRINTVIEW = TEXT 
 page.10.marks.PRINTVIEW { 
     value = Druckansicht
     typolink.parameter.data = page:uid
     typolink.additionalParams.insertData=1
     typolink.additionalParams =&type=98
 
 }

und hier mein template:

<html>
<head>
<title>layoutready</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="fileadmin/templates/style.css" rel="stylesheet" type="text/css" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="873" height="639" border="0" align="center">
  <!--DWLayoutTable-->
  <tr>
    <td width="180" height="612" valign="top" bgcolor="#FEF5F8">###MENU###<br />
      <br />
      <br />
      <br />
      <br />
    <img src="Bilder/layoutready_24.jpg" width="180" height="126" alt="" /><br />
      <br />
	  <form action="fileadmin/templates/call.php" method="post">
        <input type="text" name="call" />
        <br />
        <input type="submit" name="Submit" value="Senden" /></form>
      <br />
    <img src="Bilder/layoutready_26.jpg" width="180" height="143" alt="" /></td>
    <td width="632" height="612" valign="top" bgcolor="#FCE9CB" class="inhalt"><table width="99%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
        <td width="643" height="101" valign="top"><table width="628" height="107" border="0">
            <tr>
              <td height="103" valign="top"><img src="Bilder/layoutready_04.jpg" width="625" height="77" alt="" /><br />
                  <img src="Bilder/layoutready_07.jpg" width="347" height="24" alt="" /><a href="http://server39.hostpoint.ch/~ressou10/index.php?id=20" target="_self"><img src="Bilder/layoutready_08.jpg" width="73" height="24" border="0" alt="" /></a><a href="JavaScript:window.print();"><img src="Bilder/layoutready_09.jpg" width="53" height="24" border="0" alt="" /></a><a href="http://server39.hostpoint.ch/~ressou10/index.php?id=30" target="_self"><img src="Bilder/layoutready_10.jpg" width="49" height="24" border="0" alt="" /></a><img src="Bilder/layoutready_11.jpg" width="50" height="24" alt="" /><img src="Bilder/layoutready_12.jpg" width="54" height="24" alt="" /></td>
            </tr>
          </table></td>
      </tr>
    </table>      
      <p>###SEITE###:<br />
        <br />
    ###INHALT###</p>
      <p>###PRINTVIEW###</p>
      <p> </p></td>
    <td width="47" valign="top" bgcolor="#FBEACE"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
        <td width="67" height="181"><p><img src="Bilder/layoutready_06.jpg" width="47" height="600" alt="" /></p>          </td>
      </tr>
      <tr>
        <td height="19"><!--DWLayoutEmptyCell--> </td>
      </tr>
    </table>    </td>
  </tr>
  <tr>
    <td width="180" height="21" valign="top" bgcolor="#FEF5F8"><!--DWLayoutEmptyCell--> </td>
    <td height="21" valign="top" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td>
    <td width="47" valign="top" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td>
  </tr>
</table>
<!-- ImageReady Slices (layoutready.psd) --><!-- End ImageReady Slices -->
</body>

</html>