[TYPO3-english] Change HTML code created by Typo3 RTE

Iban Cardona i Subiela icardona at serialnet.net
Mon Jan 9 16:11:12 CET 2012


Hello,

I found the solution:

tt_content.image.20.renderMethod=table

Thank you so much!


On 12/21/2011 11:25 AM, Christoph Hermann wrote:
> On Wednesday, 21. December 2011 10:10:39 Iban Cardona i Subiela wrote:
>
> Hello,
>
>> First, I must say that I'm still very novice with TypoScript ... and I
>> encountered a problem that I can't solve.
>>
>> When I create a content with images in RTE, the generated HTML code
>> looks something like this:
>>
>> <div class="csc-textpic csc-textpic-intext-right"><div
>> style="width:310px;" class="csc-textpic-imagewrap"><div
>> style="width:310px;" class="csc-textpic-imagerow"><div
>> style="width:310px;" class="csc-textpic-image csc-textpic-firstcol
>> csc-textpic-lastcol"><div><img width="310" height="274" border="0"
>> alt="" src="typo3temp/pics/48656be78d.jpg"></div><div
>> class="csc-textpic-caption"></div></div></div><div style="width:310px;"
>> class="csc-textpic-imagerow csc-textpic-imagerow-last"><div
>> style="width:310px;" class="csc-textpic-image csc-textpic-firstcol
>> csc-textpic-lastcol"><div><img width="310" height="156" border="0"
>> alt="" src="typo3temp/pics/0461d76e6f.jpg"></div><div
>> class="csc-textpic-caption"></div></div></div></div><div
>> class="csc-textpic-text"><p>sdsadasd aasaa sdsadasd aasaa sdsadasd aasaa
>> sdsadasd aasaa sdsadasd aasaa sdsadasd aasaa sdsadasd aasaa sdsadasd
>> aasaa sdsadasd aasaa sdsadasd aasaa sdsadasd aasaa sdsadasd aasaa
>> sdsadasd aasaa sdsadasd aasaa sdsadasd aasaa sdsadasd aasaa sdsadasd
>> aasaa </p></div></div>
>>
>> My question would be ...
>> Can I modify  / override some ts code in order to create my tables
>> instead of divs with css (because the code above is incompatible with
>> Microsoft Outlook) ?
> sure.
>
> hava a look at the typoscript browser, especially:
> tt_content.stdWrap.*
> tt_content.dataWrap
> tt_content.prepend
> tt_content.textpic.*
> tt_content.image.*
>
> cheers
> Christoph
>
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

-- 



More information about the TYPO3-english mailing list