Zum Inhalt springen

hilfe templaVoila verschiebt bodyende

Erstellt am 27. Juli 2005 · 8 Antworten · letzte Antwort am 25. April 2008

Tags: Frage

demeter ·

hallo leute
habe folgendes problem:
wenn ich meine index.html mappen will, schreibt templa voila mir meinen Quelltext um, d.h. er setzt </body> über meine footer zeile

im quelltext im templatesordner steht:

</tr><!-- mittelzeile ende //-->
  
  <!--''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''//-->
  
  <tr>
    <td width="800" align="left" valign="top" bgcolor="#1C2666">
	
	<!-- fusszeile //-->
		<table width="800" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			<td><img src="kredit-bilder/spacer-2.gif" width="8" height="1" alt="" /></td>
			<td><img src="kredit-bilder/spacer-2.gif" width="672" height="1" alt="" /></td>
			<td><img src="kredit-bilder/spacer-2.gif" width="120" height="1" alt="" /></td>
		  </tr>
		  <tr>
			<td><img src="kredit-bilder/spacer-2.gif" width="8" height="19" alt="" /></td>
			<td align="right" valign="middle" class="footerzeile">###INHALT_RAND###</td>			
			<td align="right" valign="middle" class="footerzeile">###IMPRESSUM###</td>
		  </tr>
		</table>
	<!-- fusszeile //-->
	
	</td>
  </tr>
</table>
<!--###DOKUMENT###//-->
</body>
</html>

ich mache dann folgendes:
wähle die index an -> templaVoila -> preview im html
und im quelltext des zu mappenden templates steht dann:

</body>
    
  <!-- mittelzeile ende //-->
  
  <!--''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''//-->
  
  <tr>
    <td width="800" align="left" valign="top" bgcolor="#1C2666">
    
    <!-- fusszeile //-->
        <table width="800" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="kredit-bilder/spacer-2.gif" width="8" height="1" alt="" /></td>
            <td><img src="kredit-bilder/spacer-2.gif" width="672" height="1" alt="" /></td>
            <td><img src="kredit-bilder/spacer-2.gif" width="120" height="1" alt="" /></td>
          </tr>
          <tr>
            <td><img src="kredit-bilder/spacer-2.gif" width="8" height="19" alt="" /></td>
            <td align="right" valign="middle" class="footerzeile">###INHALT_RAND###</td>            
            <td align="right" valign="middle" class="footerzeile">###IMPRESSUM###</td>
          </tr>
        </table>
    <!-- fusszeile //-->
    
    </td>
  </tr>

<!--###DOKUMENT###//-->

</html>

das body ende wird einige zeilen nach oben geschoben und ein </table> wird geschluckt.
wie kann ich das </body> wieder nach unten bekommen???????????
danke im voraus

demeter ·

hab folgende errors gefunden
kann mir jemand erklären was diese bedeuten??

It seems like there is a backend module in "mod3/conf.php" which is not configured in ext_emconf.php
--------------------------------------------------------------------------------
No XCLASS inclusion code found in file "class.tx_templavoila_rules.php"
--------------------------------------------------------------------------------
The XCLASS filename-key "ext/rlmp_tvnotes/class.templavoila_tcemain.php" was different from "ext/templavoila/class.tx_templavoila_tcemain.php" which it should have been!
--------------------------------------------------------------------------------
The XCLASS filename-key "ext/templavoila/mod3/class.tx_templavoila_submodelref.php" was different from "ext/templavoila/mod3/class.tx_templavoila_submod_elref.php" which it should have been!
demeter ·

hab den fehler gefunden war eine nicht akzeptierte { im setup!! #angry#
daraufhin hat er die zeilen

page = PAGE
page.typeNum = 0
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page

nicht mehr lesen können, nichts mehr richtig interpretieren können :o
warum er mir aber den body nach oben verschoben hat kann ich auch nicht erklären. vielleicht hat er ja auch die xml nicht richtig gelesen

rosieres ·

hab den fehler gefunden war eine nicht akzeptierte { im setup!!

wo hast du die gehabt ? -hab irgendwie das gleiche problem ...
zusätzlich habe ich das er mir im info bereich für meine erste seite ein tmplate anzeigt aber keine ds / to[/quote]

rosieres ·

den html code ?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>quarktasche</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css" id="internalStyle">
           /*<![CDATA[*/
			BODY { margin: 20 20 20 20; }	
			/*]]>*/
</style>
<link href="main.css" rel="stylesheet" type="text/css" />
</HEAD>

<body class="bhigru" bgcolor="#000000">
<table width="720" height="190" align="center" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td width="720" height="96" class="kopf" cellspacing="0" cellpadding="0"> 
	<tr>
	<td with="720" height="33" class="menu" cellspacing="0" cellpadding="0">
	<div class="tablemain1"> 
        <div class="tr"> 
          <div class="td">home</div>
          <div class="td">Information</div>
          <div class="td">Flemming´s </div>
		</div>
      </div>
	<tr>
	<td with="720" height="61" class="kopfunten" cellspacing="0" cellpadding="0">
</td>
  </tr>
  <tr> 
    <td class="contentpiclong" cellspacing="0" cellpadding="0"><p>&nbsp;</p>
      <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td id="contentol" width="352">
<p>&nbsp;</p>
            </td>
          <td id="contentor" width="352">&nbsp;</td>
        </tr>
        <tr>
          <td id="contentul">
<p>&nbsp;</p>
            </td>
          <td id="contentur">&nbsp;</td>
        </tr>
      </table>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      </td>
  </tr>
  <tr> 
    <td height="34" lenght="720" class="footer" cellspacing="0" cellpadding="0"><div align="center"><font color="#666666" size="-2" face="Arial, Helvetica, sans-serif">Copyright 
        footertext<br>IMPRESSUM</font></div></td>
  </tr>
</table>


</BODY>
</html>
rosieres ·
<T3DataStructure>
    <meta type="array">
        <langChildren type="integer">1</langChildren>
        <langDisable type="integer">1</langDisable>
    </meta>
    <ROOT type="array">
        <tx_templavoila type="array">
            <title>ROOT</title>
            <description>Select the HTML element on the page which you want to be the overall container element for the template.</description>
        </tx_templavoila>
        <type>array</type>
        <el type="array">
            <field_contentol type="array">
                <tx_templavoila type="array">
                    <title>ContentOL</title>
                    <description>mappe hier die sachen für OL</description>
                    <sample_data type="array">
                        <numIndex index="0">Hier kommt der Content OL</numIndex>
                    </sample_data>
                    <eType>imagefixed</eType>
                    <TypoScript>
	10 = IMAGE
	10.file = GIFBUILDER
	10.file {
		XY = 200,150
		10 = IMAGE
		10.file.import = uploads/tx_templavoila/
		10.file.import.current = 1
		10.file.import.listNum = 0
		10.file.maxW = 200
		10.file.minW = 200
		10.file.maxH = 150
		10.file.minH = 150
	}
							</TypoScript>
                </tx_templavoila>
                <TCEforms type="array">
                    <config type="array">
                        <type>group</type>
                        <internal_type>file</internal_type>
                        <allowed>gif,png,jpg,jpeg</allowed>
                        <max_size>1000</max_size>
                        <uploadfolder>uploads/tx_templavoila</uploadfolder>
                        <show_thumbs>1</show_thumbs>
                        <size>1</size>
                        <maxitems>1</maxitems>
                        <minitems>0</minitems>
                    </config>
                    <label>ContentOL</label>
                </TCEforms>
            </field_contentol>
            <field_contentor type="array">
                <tx_templavoila type="array">
                    <title>contentOR</title>
                    <description>hier kommt ContentOR</description>
                    <sample_data type="array">
                        <numIndex index="0">hier sample CONTENTOR</numIndex>
                    </sample_data>
                    <eType>imagefixed</eType>
                    <TypoScript>
	10 = IMAGE
	10.file = GIFBUILDER
	10.file {
		XY = 200,150
		10 = IMAGE
		10.file.import = uploads/tx_templavoila/
		10.file.import.current = 1
		10.file.import.listNum = 0
		10.file.maxW = 200
		10.file.minW = 200
		10.file.maxH = 150
		10.file.minH = 150
	}
							</TypoScript>
                </tx_templavoila>
                <TCEforms type="array">
                    <config type="array">
                        <type>group</type>
                        <internal_type>file</internal_type>
                        <allowed>gif,png,jpg,jpeg</allowed>
                        <max_size>1000</max_size>
                        <uploadfolder>uploads/tx_templavoila</uploadfolder>
                        <show_thumbs>1</show_thumbs>
                        <size>1</size>
                        <maxitems>1</maxitems>
                        <minitems>0</minitems>
                    </config>
                    <label>contentOR</label>
                </TCEforms>
            </field_contentor>
            <field_contentul type="array">
                <tx_templavoila type="array">
                    <title>contentUL</title>
                    <description>hier kommt Content UL</description>
                    <sample_data type="array">
                        <numIndex index="0">Sampledata ContentUL</numIndex>
                    </sample_data>
                    <eType>imagefixed</eType>
                    <TypoScript>
	10 = IMAGE
	10.file = GIFBUILDER
	10.file {
		XY = 200,150
		10 = IMAGE
		10.file.import = uploads/tx_templavoila/
		10.file.import.current = 1
		10.file.import.listNum = 0
		10.file.maxW = 200
		10.file.minW = 200
		10.file.maxH = 150
		10.file.minH = 150
	}
							</TypoScript>
                </tx_templavoila>
                <TCEforms type="array">
                    <config type="array">
                        <type>group</type>
                        <internal_type>file</internal_type>
                        <allowed>gif,png,jpg,jpeg</allowed>
                        <max_size>1000</max_size>
                        <uploadfolder>uploads/tx_templavoila</uploadfolder>
                        <show_thumbs>1</show_thumbs>
                        <size>1</size>
                        <maxitems>1</maxitems>
                        <minitems>0</minitems>
                    </config>
                    <label>contentUL</label>
                </TCEforms>
            </field_contentul>
            <field_contentur type="array">
                <tx_templavoila type="array">
                    <title>contentur</title>
                    <description>hier kommt contentur</description>
                    <sample_data type="array">
                        <numIndex index="0">sampledata für content ur</numIndex>
                    </sample_data>
                    <eType>imagefixed</eType>
                    <TypoScript>
	10 = IMAGE
	10.file = GIFBUILDER
	10.file {
		XY = 200,150
		10 = IMAGE
		10.file.import = uploads/tx_templavoila/
		10.file.import.current = 1
		10.file.import.listNum = 0
		10.file.maxW = 200
		10.file.minW = 200
		10.file.maxH = 150
		10.file.minH = 150
	}
							</TypoScript>
                </tx_templavoila>
                <TCEforms type="array">
                    <config type="array">
                        <type>group</type>
                        <internal_type>file</internal_type>
                        <allowed>gif,png,jpg,jpeg</allowed>
                        <max_size>1000</max_size>
                        <uploadfolder>uploads/tx_templavoila</uploadfolder>
                        <show_thumbs>1</show_thumbs>
                        <size>1</size>
                        <maxitems>1</maxitems>
                        <minitems>0</minitems>
                    </config>
                    <label>contentur</label>
                </TCEforms>
            </field_contentur>
            <field_content type="array">
                <tx_templavoila type="array">
                    <title>content</title>
                    <description>Hier kommt der Content rein</description>
                    <sample_data type="array">
                        <numIndex index="0">Sampledata für den Contentbereich</numIndex>
                    </sample_data>
                    <eType>ce</eType>
                    <TypoScript>
	10= RECORDS
	10.source.current=1
	10.tables = tt_content
							</TypoScript>
                </tx_templavoila>
                <TCEforms type="array">
                    <config type="array">
                        <type>group</type>
                        <internal_type>db</internal_type>
                        <allowed>tt_content</allowed>
                        <size>5</size>
                        <maxitems>200</maxitems>
                        <minitems>0</minitems>
                        <multiple>1</multiple>
                        <show_thumbs>1</show_thumbs>
                    </config>
                    <label>content</label>
                </TCEforms>
            </field_content>
        </el>
    </ROOT>
</T3DataStructure>
attentiongetter ·

Hallo,

Im Moment habe ich im Setup nur diese vier Zeilen eingetragen und habe trotzdem
das Problem, dass der Body - Tag vom Ende plötzlich in die Mitte der html-Datei
rutscht.

1. page = PAGE
2. page.typeNum = 0
3. page.10 = USER
4. page.10.userFunc = tx_templavoila_pi1->main_page

Was kann ich tun um das Body-Problem zu lösen?

Danke im Voraus! :p