[Typo3] wrap content header with table instead of h1 tag

Jacob Floyd techgurufloyd at gmail.com
Wed Jun 15 20:18:43 CEST 2005


I've been looking around for a way to surround each content element in
the left and right columns (but not the middle or the border) with a
table containing 2 cells. 1 per row. In the first cell I need the
header of the content element, and the main content of the element in
the second cell.

I started searching in TypoScript Object Analyzer and found that
lib.stdHeader seems to have all the information, but I don't want to
change it directly there because I want it to apply as is to the
middle column.

Right now I'm using the CSS styled content extension. When I refer to
the column in my template I have been using style.content.get*
(Left,Right and Border) to fill my pages with the content.

Is there an easy way to wrap as described above?

which cObject(s) can I wrap with the example below:

whole element wrap:
<table width="95%"  border="0" cellpadding="1" cellspacing="0"> | </table><br />

element header wrap (I don't want it wrapped in <h#> tags):
<tr><td align="center" class="sectiontop">.: | :.</td></tr>

element content wrap
<tr><td align="center"  class="sectionbody"> | </td></tr>

If I've missed something in the TSRef or TS by Example or some other
manual, please point me to it.

Thanks!



More information about the TYPO3-english mailing list