[Typo3] manipulate contentelements by TS
Carlos Rodriguez
carod at nospam.org
Mon Nov 14 13:03:17 CET 2005
Hi,
i think ya all got the thing a little wrong.
The problem for me is, that standard content with pic gives me following
code:
<div style="text-align: center;">
<table class="imgtext-table" border="0" cellpadding="0" cellspacing="0"
width="198"> <tbody> <tr>
<td valign="top"> <img src="uploads/pics/xyz3.jpg" alt=""
title="" align="top" border="0" height="147" width="198"> <br> </td>
</tr> <tr>
<td colspan="1" align="center">
<p class="csc-caption">Image caption</p>
</td>
</tr> </tbody> </table>
</div>
But what I need is to get a more smaller, cleaner code like the following.
Means I need the following output to be generated by the standard
content element, I thought I could manipulate this by TS. But everything
I change in tt_content.textpic does not work.....
<div class="border">
<img src="xyz.jpg" class="img" >
<div class="imgcap"> imcaption</div>
</div>
<p>text here</p>
I am at a loss...
More information about the TYPO3-english
mailing list