Hallo ReneZ,

danke für deine Antwort. Ich habe -- denke ich zumindest -- versucht das 
"Templateerstellungs Howto Teil1" von Typo3.org nachzubilden für meine eigene 
Webseite.

Das html-Template sieht so aus:
==========================

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>

<head>
  <title>www.ladanyi.de</title>
  <meta name="GENERATOR" content="Quanta Plus" />
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta name="KEYWORDS" content="" />
  <link rel="stylesheet" type="text/css" href="" />
</head>
<body>

<table>
  <caption>body_table</caption>
  <tbody>
    <tr>
      <!--1.Reihe Kopf, verschiedene Bildchen-->
      <td></td>
    </tr>
    <tr>
      <td id="menu">  <!--Menuteil-->
        <div class="menu_level1_Home_no"></div>
        <div class="menu_level1_Personen_act"></div>
        <div class="menu_level2_Personen_act"></div>
        <div class="menu_level2_Personen_no"></div>
        <div class="menu_level2_Personen_no"></div>
        <div class="menu_level2_Personen_no"></div>
     </td>
     <td id="content"> <!--Seitenteil-->
        
     </td>  
   </tr>
   <tr><!--Letzte Reihe Fußbereich-->
   <td></td>
    </tr>
  </tbody>
</table>

</body>
</html>

================================================== Ende html-Template

SetupCode:
============

#Configure the Auto-Parser:
plugin.tx_automaketemplate_pi1 {
  #Read template:
        content = FILE
        content.file = fileadmin/www.ladanyi.de/template/template.html

  #Elements to wrap
        elements {
        BODY.all = 1
        BODY.all.subpartMarker = DOCUMENT_BODY
        
        HEAD.all = 1
        HEAD.all.subpartMarker = DOCUMENT_HEADER
        HEAD.rmTagSections = title
        
        TD.all = 1
}

  #Prefix all relative paths with this value:
        relPathPrefix = fileadmin/www.ladanyi.de/template/  
}


# Default PAGE object:
page = PAGE
page.config.doctype = xhtml_trans
page.typeNum=0
#page.bodyTag = <body bgcolor="#10099FF">
page.10 =< plugin.tx_automaketemplate_pi1

=========================== SetupCode Ende

Ausgabe Typo3:
==============

<?xml version="1.0" encoding="iso-8859-1"?>
<!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"; xml:lang="en" lang="en">
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" 
/>

<!-- 
        This website is powered by TYPO3 - inspiring people to share!
        TYPO3 is a free open source Content Management Framework initially 
created by Kasper Skaarhoj and licensed under GNU/GPL.
        TYPO3 is copyright 1998-2006 of Kasper Skaarhoj. Extensions are 
copyright of their respective owners.
        Information and contribution at http://typo3.com/ and http://typo3.org/
-->

        <title>Home</title>
        <meta name="generator" content="TYPO3 4.1 CMS" />
        <script type="text/javascript">
                /*<![CDATA[*/
        <!--
                var browserName = navigator.appName;
                var browserVer = parseInt(navigator.appVersion);
                var version = "";
                var msie4 = (browserName == "Microsoft Internet Explorer" && 
browserVer >= 4);
                if ((browserName == "Netscape" && browserVer >= 3) || msie4 || 
browserName=="Konqueror" || browserName=="Opera") {version = "n3";} else 
{version = "n2";}
                        // Blurring links:
                function blurLink(theObject)    {       //
                        if (msie4)      {theObject.blur();}
                }
                
        // -->
                /*]]>*/
        </script>


</head>
<body>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>

<head><!--###DOCUMENT_HEADER### begin -->
  
  <meta name="GENERATOR" content="Quanta Plus" />
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta name="KEYWORDS" content="" />
  <link rel="stylesheet" type="text/css" href="" />

<!--###DOCUMENT_HEADER### end --></head>
<body><!--###DOCUMENT_BODY### begin -->

<table>
  <caption>body_table</caption>
  <tbody>
    <tr>
      <!--1.Reihe Kopf, verschiedene Bildchen-->
      <td></td>
    </tr>

    <tr>
      <td id="menu"><!--###menu### begin -->  <!--Menuteil-->
        <div class="menu_level1_Home_no"></div>
        <div class="menu_level1_Personen_act"></div>
        <div class="menu_level2_Personen_act"></div>
        <div class="menu_level2_Personen_no"></div>
        <div class="menu_level2_Personen_no"></div>
        <div class="menu_level2_Personen_no"></div>

     <!--###menu### end --></td>
     <td id="content"><!--###content### begin --> <!--Seitenteil-->
        
     <!--###content### end --></td>  
   </tr>
   <tr><!--Letzte Reihe Fußbereich-->
   <td></td>
    </tr>
  </tbody>
</table>

<!--###DOCUMENT_BODY### end --></body>
</html>

</body>
</html>


===========================Ende Ausgabe Typo3



> -----Ursprüngliche Nachricht-----
> Von: German Typo3 Userlist <typo3-german@lists.netfielders.de>
> Gesendet: 08.08.07 22:05:34
> An: typo3-german@lists.netfielders.de
> Betreff: Re: [TYPO3-german] Typo generiert doppelten Head/Body-Bereich, 
> einmal mit/einmal ohne Label !


> 
> Hallo Andreas,
> 
> wie sieht denn dein Templatefile aus das du in T3 einbindest? 
> Wahrscheinlich hast du da die Inhalte doppelt eingefügt, kannst ja mal 
> dein Templateposten und auch gleich deinen Setupcode damit man mal nen 
> Einblick bekommt.
> 
> mfg René
> 
> 
> 
> -------------------------------------------------------------------
> Kosys - Kockisch ITK Systems and Services
> Inh. Kockisch René
> 
> Görlitzer Str. 22
> 03046 Cottbus
> 
> Tel.: 0355/ 430 903 81
> Fax.: 0355/ 430 903 84
> 
> 
> Internet: www.kosys-cottbus.de
> E-Mail: [EMAIL PROTECTED]
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german@lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german


_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german

Reply via email to