[Typo3-UG CH] Problem mit dem Content wrappen

Rolf Friederich friederich at begasoft.ch
Thu May 27 09:44:39 CEST 2004


Hallo,

Ich möchte mein Content so wrappen, dass er folgendermassen aussieht:

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse:
collapse" bordercolor="#111111" width="100%">
   <tr>
      <td width="100%" class="haupttexttit"><!--###HEADER###--></td>
   </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse:
collapse" bordercolor="#111111" width="95%">
   <tr>
      <td width="100%" class="haupttext"><!--###CONTENT ELEMENT 1###--></td>
   </tr>
   <tr>
      <td width="100%" class="haupttext"><!--###CONTENT ELEMENT 2###--></td>
   </tr>
</table> 


Das Template-Setup sieht momentan so aus:

CONSTANTS:
content.wrap.header = <table border="0" cellpadding="0" cellspacing="0"
style="border-collapse: collapse" bordercolor="#111111"
width="100%">|</table>
content.wrap.header1 = <tr><td width="100%" class="haupttexttit">|</td></tr>

SETUP:
tt_content.text.20.parseFunc { 
   nonTypoTagStdWrap.encapsLines.nonWrappedTag > 
   nonTypoTagStdWrap.encapsLines.wrapNonWrappedLines = <tr><td
width="95%"><p class="haupttext"> | </td></tr>
} 
 

Den Header kann ich wie gewünscht wrappen, doch ich schaffe es einfacht
nicht, dass um alle Content Elemente zusammne ein <table> - Tag
gelegt wird.

Meine Ausgabe sieht momentan so aus (fehlende Elemente blau...):

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse:
collapse" bordercolor="#111111" width="100%">
   <tr>
      <td width="100%" class="haupttexttit">Informatiker /
Informatikerin</td>
   </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse:
collapse" bordercolor="#111111" width="95%">
   <tr>
      <td width="95%"><p class="haupttext">
            Die rund 400 Informatikerinnen und Informatiker bearbeiten
Informatikprojekte und betreuen Netzwerke.
      </td>
   </tr>
   <a name="62"></a>
   <tr>
      <td width="95%"><p class="haupttext">Berufsanforderung</td>
   </tr>
   <table border="0" cellpadding="0" cellspacing="2">
      <tr>
         <td valign="top"><img src="media/bullets/dot.gif" vspace="4"
hspace="4" alt="" /></td>
         <td valign="top">Kontaktfreude, Kommunikations- und
Teamfähigkeit</td>
      </tr>
      <tr>
         <td valign="top"><img src="media/bullets/dot.gif" vspace="4"
hspace="4" alt="" /></td>
         <td valign="top">Organisations- und Problemlösungsfähigkeit, Sinn
für zielgerichtetes Arbeiten</td>
      </tr>
   </table>
   <a name="63"></a>
   <tr><td width="95%"><p class="haupttext">Voraussetzungen vor
Lehrbeginn</td></tr>
   <tr><td width="95%"><p class="haupttext">Abgeschlossene obligatorische
Schulzeit auf höchstem Oberstufenniveau.</td></tr>
</table>


Hat mir jemanden einen Tipp wie ich um alle Content Elemente exkl dem Header
einen wrapp kriege?
Vielen Dank für jegliche Hilfe!!

Gruss Rolf





More information about the TYPO3-ch mailing list