[Typo3] manipulate contentelements by TS

JoH info at cybercraft.de
Mon Nov 14 13:29:55 CET 2005


Carlos Rodriguez wrote:
> 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...

Can be solved easily, but first I need to know if this is the default
behaviour you want for each and every "Text w/image" and "image" element or
if it is just used for special cases.

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-english mailing list